# C1.Win.FlexGrid.ComboBoxEditor.SelectedKey

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_ComboBoxEditor_SelectedKey_" data-uid="C1.Win.FlexGrid.ComboBoxEditor.SelectedKey*">SelectedKey Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_ComboBoxEditor_SelectedKey_" data-uid="C1.Win.FlexGrid.ComboBoxEditor.SelectedKey*"></a>
<h4 id="C1_Win_FlexGrid_ComboBoxEditor_SelectedKey" data-uid="C1.Win.FlexGrid.ComboBoxEditor.SelectedKey">SelectedKey</h4>
<div class="markdown level1 summary"><p>Gets the key that corresponds to the selected item in the currently
active ComboBox editor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object SelectedKey { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property SelectedKey As Object</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_ComboBoxEditor_SelectedKey_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If there's no active editor, if the editor is not a <span class="xref">C1.Win.FlexGrid.ComboBoxEditor.ComboBox</span>, or if the cell
being edited does not have an associated <b>DataMap</b>, the value returned is null.</p>
</div>
</div>
