# GrapeCity.Spreadsheet.Data.IValueConverter-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Data_IValueConverter_1" data-uid="GrapeCity.Spreadsheet.Data.IValueConverter`1" class="text-break">IValueConverter&lt;T&gt; Interface
</h1>
  <div class="markdown level0 summary"><p>Provides a way to apply custom logic to a binding.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Data.html">GrapeCity.Spreadsheet.Data</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Data_IValueConverter_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IValueConverter&lt;T&gt; : IValueConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IValueConverter(Of T)
    Inherits IValueConverter</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>The type to convert to.</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="GrapeCity_Spreadsheet_Data_IValueConverter_1_Convert_System_Object_System_Object_" data-uid="GrapeCity.Spreadsheet.Data.IValueConverter`1.Convert(System.Object,System.Object)">
          <a class="xref" href="GrapeCity.Spreadsheet.Data.IValueConverter-1.Convert.html#GrapeCity_Spreadsheet_Data_IValueConverter_1_Convert_System_Object_System_Object_">Convert(object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Data_IValueConverter_1_ConvertBack__1__0_System_Object_" data-uid="GrapeCity.Spreadsheet.Data.IValueConverter`1.ConvertBack``1(`0,System.Object)">
          <a class="xref" href="GrapeCity.Spreadsheet.Data.IValueConverter-1.ConvertBack.html#GrapeCity_Spreadsheet_Data_IValueConverter_1_ConvertBack__1__0_System_Object_">ConvertBack&lt;T2&gt;(T, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
