# C1.WPF.FlexGrid.DataTypeConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_DataTypeConverter" data-uid="C1.WPF.FlexGrid.DataTypeConverter" class="text-break">DataTypeConverter Class
</h1>
  <div class="markdown level0 summary"><p>Converter required to support data type properties in XAML.</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"><span class="xref">DataTypeConverter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexGrid.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_DataTypeConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DataTypeConverter : TypeConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DataTypeConverter
    Inherits TypeConverter</code></pre>
  </div>
  <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="C1_WPF_FlexGrid_DataTypeConverter__ctor" data-uid="C1.WPF.FlexGrid.DataTypeConverter.#ctor">
          <a class="xref" href="C1.WPF.FlexGrid.DataTypeConverter.-ctor.html#C1_WPF_FlexGrid_DataTypeConverter__ctor">DataTypeConverter()</a>
        </td>
        <td class="markdown level1 summary"></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="C1_WPF_FlexGrid_DataTypeConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="C1.WPF.FlexGrid.DataTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="C1.WPF.FlexGrid.DataTypeConverter.CanConvertFrom.html#C1_WPF_FlexGrid_DataTypeConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertFrom(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether the converter can convert from a given type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_DataTypeConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_" data-uid="C1.WPF.FlexGrid.DataTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
          <a class="xref" href="C1.WPF.FlexGrid.DataTypeConverter.ConvertFrom.html#C1_WPF_FlexGrid_DataTypeConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_">ConvertFrom(ITypeDescriptorContext, CultureInfo, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts from a given type.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
