# GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AllowSpace

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AllowSpace_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AllowSpace*">AllowSpace Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AllowSpace_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AllowSpace*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AllowSpace" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AllowSpace">AllowSpace</h4>
<div class="markdown level1 summary"><p>Gets or sets an <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AllowSpace.html#GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AllowSpace">AllowSpace</a> value that indicates which type of space character is allowed.</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 AllowSpace AllowSpace { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(True)&gt;
Public Property AllowSpace As AllowSpace</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="GrapeCity.Win.Spread.InputMan.CellType.AllowSpace.html">AllowSpace</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.AllowSpace.html">AllowSpace</a> value.
<br> The default is <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.AllowSpace.html#GrapeCity_Win_Spread_InputMan_CellType_AllowSpace_Both">Both</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AllowSpace_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      Use the <b>AllowSpace</b> property to specify which kind of space is allowed in the text.
      </p>
<p></p>
<p>
        If <b>AllowSpace</b> is <b>None</b>, <b>GcComboBox</b> does not accept spaces.
        The <b>AllowSpace.Narrow</b> setting means the SBCS space is allowed.
        The <b>AllowSpace.Wide</b> setting means the DBCS space is allowed.
        The <b>AllowSpace.Both</b> setting means all kinds of spaces are allowed.
      </p>
<p></p>
<div class="NOTE"><h5>note</h5><p>
        If the AutoConvert property is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> and AllowSpace is <b>AllowSpace.Wide</b>, the control
        automatically converts the SBCS space to DBCS space when the user enters a SBCS space. 
        The <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.Format(System.Object,System.Boolean@)</span> property is always used with the <b>AllowSpace</b> property.
      </p></div>
</div>
</div>
