# C1.WPF.Schedule.EditCollectionControl.ShowButton

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_EditCollectionControl_ShowButton_" data-uid="C1.WPF.Schedule.EditCollectionControl.ShowButton*">ShowButton Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_EditCollectionControl_ShowButton_" data-uid="C1.WPF.Schedule.EditCollectionControl.ShowButton*"></a>
<h4 id="C1_WPF_Schedule_EditCollectionControl_ShowButton" data-uid="C1.WPF.Schedule.EditCollectionControl.ShowButton">ShowButton</h4>
<div class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value determining whether control should show button for external editing
or ComboBox for the single selection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShowButton { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ShowButton 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>The default value is true.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_Schedule_EditCollectionControl_ShowButton_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;If this property is true, control shows Button and TextBox. In such case editing and selection from the 
</code></pre>
<p>source collection is implemented by the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.SelectFromListDialogCommand.html">SelectFromListDialogCommand</a> command.</p>
<p>If this property is false, controls shows ComboBox for the single selection. In this case,
TargetCollection is updated automatically when user selects ComboBox item.</p>
</div>
</div>
