# C1.Win.Command.C1ToolBar.ButtonWidth

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Command_C1ToolBar_ButtonWidth_" data-uid="C1.Win.Command.C1ToolBar.ButtonWidth*">ButtonWidth Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Command_C1ToolBar_ButtonWidth_" data-uid="C1.Win.Command.C1ToolBar.ButtonWidth*"></a>
<h4 id="C1_Win_Command_C1ToolBar_ButtonWidth" data-uid="C1.Win.Command.C1ToolBar.ButtonWidth">ButtonWidth</h4>
<div class="markdown level1 summary"><p>Gets or sets the width for all buttons (applies to horizontal toolbars only; if 0, buttons are individually sized).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Layout&quot;)]
[C1Description(&quot;C1ToolBar.ButtonWidth&quot;, &quot;Gets or sets the width for all buttons (applies to horizontal toolbars only; if 0, buttons are individually sized).&quot;)]
public int ButtonWidth { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Layout&quot;)&gt;
&lt;C1Description(&quot;C1ToolBar.ButtonWidth&quot;, &quot;Gets or sets the width for all buttons (applies to horizontal toolbars only; if 0, buttons are individually sized).&quot;)&gt;
Public Property ButtonWidth As Integer</code></pre>
</div>
</div>
