# GrapeCity.Win.Spread.InputMan.CellType.GcMaskCellType.AutoConvert

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskCellType_AutoConvert_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcMaskCellType.AutoConvert*">AutoConvert Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskCellType_AutoConvert_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcMaskCellType.AutoConvert*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskCellType_AutoConvert" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcMaskCellType.AutoConvert">AutoConvert</h4>
<div class="markdown level1 summary"><p>Gets or sets whether to automatically convert the entered characters according to
the input control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(true)]
public virtual bool AutoConvert { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(True)&gt;
Public Overridable 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 control;
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_Win_Spread_InputMan_CellType_GcMaskCellType_AutoConvert_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the <b>AutoConvert</b> property is set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, all convertible characters are automatically converted accordingly to the input mask. For example, if the input mask is set to &quot;A&quot;, then pressing a lower case character automatically converts the character into upper case.</p>
<p></p>
If SBCS is entered in a DBCS mask input, the entered character is automatically converted to DBCS. Also a DBCS space is automatically converted to a SBCS space when the control allows only SBCS.
</div>
</div>
