# C1.Win.FlexGrid.C1FlexGridBase.ShowButtons

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_ShowButtons_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.ShowButtons*">ShowButtons Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_ShowButtons_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.ShowButtons*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_ShowButtons" data-uid="C1.Win.FlexGrid.C1FlexGridBase.ShowButtons">ShowButtons</h4>
<div class="markdown level1 summary"><p>Gets or sets when to display combo buttons in cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ShowButtonsEnum ShowButtons { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ShowButtons As ShowButtonsEnum</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_ShowButtons_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default, the grid will show editing buttons in cells only when they
have the focus. This is the same behavior used by the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.propertygrid">PropertyGrid</a>
control.</p>
<p>This property affects only rendering of cells and do not affect appearance of
editor.</p>
<p>If you set <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.ShowButtons.html#C1_Win_FlexGrid_C1FlexGridBase_ShowButtons">ShowButtons</a> to <a class="xref" href="C1.Win.FlexGrid.ShowButtonsEnum.html#C1_Win_FlexGrid_ShowButtonsEnum_Always">Always</a>,
the grid will display buttons on any cells that have associated lists, even if they
don't have the focus.</p>
<p>For details on how to associate lists with cells, see the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.ComboList.html#C1_Win_FlexGrid_C1FlexGridBase_ComboList">ComboList</a>,
<a class="xref" href="C1.Win.FlexGrid.RowCol.ComboList.html#C1_Win_FlexGrid_RowCol_ComboList">ComboList</a>, and <a class="xref" href="C1.Win.FlexGrid.RowCol.DataMap.html#C1_Win_FlexGrid_RowCol_DataMap">DataMap</a> properties.</p>
</div>
</div>
