# C1.WPF.Toolbar.C1ToolbarButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Toolbar_C1ToolbarButton" data-uid="C1.WPF.Toolbar.C1ToolbarButton" class="text-break">C1ToolbarButton Class
</h1>
  <div class="markdown level0 summary"><p>C1ToolbarButton control represents a button on the C1ToobarStrip.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.buttonbase">ButtonBase</a></div>
    <div class="level9"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.button">Button</a></div>
    <div class="level10"><span class="xref">C1ToolbarButton</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommandsource">ICommandSource</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Toolbar.html">C1.WPF.Toolbar</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Toolbar.4.6.2.dll</h6>
  <h5 id="C1_WPF_Toolbar_C1ToolbarButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;MediumText&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;LargeText&quot;, Type = typeof(TextBlock))]
public class C1ToolbarButton : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;MediumText&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;LargeText&quot;, Type:=GetType(TextBlock))&gt;
Public Class C1ToolbarButton
    Inherits Button
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton__ctor" data-uid="C1.WPF.Toolbar.C1ToolbarButton.#ctor">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.-ctor.html#C1_WPF_Toolbar_C1ToolbarButton__ctor">C1ToolbarButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.html">C1ToolbarButton</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_ActualForegroundProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.ActualForegroundProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.ActualForegroundProperty.html">ActualForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>The ActualForeground dynamic property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_LabelTitleProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.LabelTitleProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.LabelTitleProperty.html">LabelTitleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Using a DependencyProperty as the backing store for LabelTitle.<br>
This enables animation, styling, binding, etc...</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_LargeImageSourceProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.LargeImageSourceProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.LargeImageSourceProperty.html">LargeImageSourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Using a DependencyProperty as the backing store for LargeImageSource.
This enables animation, styling, binding, etc...</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_MouseOverBrushProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.MouseOverBrush.html#C1_WPF_Toolbar_C1ToolbarButton_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_MouseOverForegroundBrushProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.MouseOverForegroundBrushProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.MouseOverForegroundBrushProperty.html">MouseOverForegroundBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Mouseover foreground color dependency property</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_PressedBrushProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.PressedBrushProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.PressedBrush.html#C1_WPF_Toolbar_C1ToolbarButton_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_PressedForegroundBrushProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.PressedForegroundBrushProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.PressedForegroundBrushProperty.html">PressedForegroundBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Pressed foreground color dependency property</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_SmallImageSourceProperty" data-uid="C1.WPF.Toolbar.C1ToolbarButton.SmallImageSourceProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.SmallImageSourceProperty.html">SmallImageSourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Using a DependencyProperty as the backing store for SmallImageSource.<br>
This enables animation, styling, binding, etc...</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_ActualForeground" data-uid="C1.WPF.Toolbar.C1ToolbarButton.ActualForeground">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.ActualForeground.html#C1_WPF_Toolbar_C1ToolbarButton_ActualForeground">ActualForeground</a>
        </td>
        <td class="markdown level1 summary"><p>The ActualForeground CLR property - wrapper for ActualForegroundProperty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_LabelTitle" data-uid="C1.WPF.Toolbar.C1ToolbarButton.LabelTitle">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.LabelTitle.html#C1_WPF_Toolbar_C1ToolbarButton_LabelTitle">LabelTitle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the label title of control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_LargeImageSource" data-uid="C1.WPF.Toolbar.C1ToolbarButton.LargeImageSource">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.LargeImageSource.html#C1_WPF_Toolbar_C1ToolbarButton_LargeImageSource">LargeImageSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the large image source of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_MouseOverBrush" data-uid="C1.WPF.Toolbar.C1ToolbarButton.MouseOverBrush">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.MouseOverBrush.html#C1_WPF_Toolbar_C1ToolbarButton_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_MouseOverForegroundBrush" data-uid="C1.WPF.Toolbar.C1ToolbarButton.MouseOverForegroundBrush">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.MouseOverForegroundBrush.html#C1_WPF_Toolbar_C1ToolbarButton_MouseOverForegroundBrush">MouseOverForegroundBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Mouseover foreground color</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_PressedBrush" data-uid="C1.WPF.Toolbar.C1ToolbarButton.PressedBrush">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.PressedBrush.html#C1_WPF_Toolbar_C1ToolbarButton_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to paint a button when it is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_PressedForegroundBrush" data-uid="C1.WPF.Toolbar.C1ToolbarButton.PressedForegroundBrush">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.PressedForegroundBrush.html#C1_WPF_Toolbar_C1ToolbarButton_PressedForegroundBrush">PressedForegroundBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Pressed foreground color</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_SmallImageSource" data-uid="C1.WPF.Toolbar.C1ToolbarButton.SmallImageSource">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.SmallImageSource.html#C1_WPF_Toolbar_C1ToolbarButton_SmallImageSource">SmallImageSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the small image source of the control.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.Toolbar.C1ToolbarButton.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.MeasureOverride.html#C1_WPF_Toolbar_C1ToolbarButton_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when measuring a control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_OnApplyTemplate" data-uid="C1.WPF.Toolbar.C1ToolbarButton.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.OnApplyTemplate.html#C1_WPF_Toolbar_C1ToolbarButton_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.html">C1ToolbarButton</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarButton_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.Toolbar.C1ToolbarButton.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarButton.OnPropertyChanged.html#C1_WPF_Toolbar_C1ToolbarButton_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
