# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items*">Items Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items">Items</h4>
<div class="markdown level1 summary"><p>Gets the collection used to generate the content of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.html">GcComboBox</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ObservableCollection&lt;object&gt; Items { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Items As ObservableCollection(Of Object)</code></pre>
</div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can add items to an <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.html">GcComboBox</a> by adding items to the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items">Items</a> property or by binding the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.ItemsSource.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_ItemsSource">ItemsSource</a> property to a data collection.
You can add objects of different types to <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items">Items</a>. If <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.ItemsSource.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_ItemsSource">ItemsSource</a> is not <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, the items in the items property are read-only.
You cannot add an object or change the objects in the Items property.</p>
</div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items_examples">Examples</h5>
<p>The following code example demonstrates how to use <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.Items.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_Items">Items</a> property.</p>

</div>
