# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.AutoConvert

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcTextBox_AutoConvert_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.AutoConvert*">AutoConvert Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcTextBox_AutoConvert_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.AutoConvert*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcTextBox_AutoConvert" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.AutoConvert">AutoConvert</h4>
<div class="markdown level1 summary"><p>Gets or sets whether to automatically convert the entered characters
according to the input mask. This is a dependency property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool AutoConvert { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutoConvert As Boolean</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if characters are automatically converted according to the input mask;
otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>. <br>The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcTextBox_AutoConvert_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
        If set the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.AutoConvert.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcTextBox_AutoConvert">AutoConvert</a> property to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, all convertible characters will be 
        automatically converted accordingly to the input mask. For example, if set 
        the input mask to "A", by hitting a lower case character the control automatically 
        converts the character into an upper case. 
      </p>
<p>
        If SBCS is entered in a DBCS input mask, the entered character will be automatically 
        converted to DBCS. Also a DBCS space will be automatically converted to a SBCS space 
        when the control allows only SBCS. 
      </p>
</div>
</div>
