# FarPoint.Win.Chart.GenericTypeConverter-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Chart_GenericTypeConverter_1" data-uid="FarPoint.Win.Chart.GenericTypeConverter`1" class="text-break">GenericTypeConverter&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>A generic type converter which inherited from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.expandableobjectconverter">ExpandableObjectConverter</a> and can be used for
various type of objects in FpChart.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter">TypeConverter</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.expandableobjectconverter">ExpandableObjectConverter</a></div>
    <div class="level3"><span class="xref">GenericTypeConverter&lt;T&gt;</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Chart.html">FarPoint.Win.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Chart.dll</h6>
  <h5 id="FarPoint_Win_Chart_GenericTypeConverter_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GenericTypeConverter&lt;T&gt; : ExpandableObjectConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GenericTypeConverter(Of T)
    Inherits ExpandableObjectConverter</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of the object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Chart_GenericTypeConverter_1__ctor" data-uid="FarPoint.Win.Chart.GenericTypeConverter`1.#ctor">
          <a class="xref" href="FarPoint.Win.Chart.GenericTypeConverter-1.-ctor.html#FarPoint_Win_Chart_GenericTypeConverter_1__ctor">GenericTypeConverter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Chart.GenericTypeConverter-1.html">GenericTypeConverter&lt;T&gt;</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Chart_GenericTypeConverter_1_CanConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="FarPoint.Win.Chart.GenericTypeConverter`1.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="FarPoint.Win.Chart.GenericTypeConverter-1.CanConvertTo.html#FarPoint_Win_Chart_GenericTypeConverter_1_CanConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertTo(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the control can convert the context to the specified type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Chart_GenericTypeConverter_1_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_" data-uid="FarPoint.Win.Chart.GenericTypeConverter`1.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)">
          <a class="xref" href="FarPoint.Win.Chart.GenericTypeConverter-1.ConvertTo.html#FarPoint_Win_Chart_GenericTypeConverter_1_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_">ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the context to the specified culture and type.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
