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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoGenerateColumns_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoGenerateColumns*">AutoGenerateColumns Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoGenerateColumns_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoGenerateColumns*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoGenerateColumns" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoGenerateColumns">AutoGenerateColumns</h4>
<div class="markdown level1 summary"><p>Gets or sets whether columns are created automatically when the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.DataSource.html#GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_DataSource">DataSource</a>
or <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.DataMember.html#GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_DataMember">DataMember</a> property is set.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public bool AutoGenerateColumns { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Property AutoGenerateColumns 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<a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">bool</a> value, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the columns should be created automatically; 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_GcComboBoxCellType_AutoGenerateColumns_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When the user binds a source to <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.DataMember.html#GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_DataMember">DataMember</a>, columns are automatically generated in the drop-down list based on the data source.</p>
</div>
</div>
