# C1.WPF.Toolbar.C1ToolbarToggleButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Toolbar_C1ToolbarToggleButton" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton" class="text-break">C1ToolbarToggleButton Class
</h1>
  <div class="markdown level0 summary"><p>C1ToolbarButton control represents a toggle 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.primitives.togglebutton">ToggleButton</a></div>
    <div class="level10"><span class="xref">C1ToolbarToggleButton</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_C1ToolbarToggleButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ToolbarToggleButton : ToggleButton, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ToolbarToggleButton
    Inherits ToggleButton
    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_C1ToolbarToggleButton__ctor" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.#ctor">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.-ctor.html#C1_WPF_Toolbar_C1ToolbarToggleButton__ctor">C1ToolbarToggleButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.html">C1ToolbarToggleButton</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_C1ToolbarToggleButton_GroupNameProperty" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.GroupNameProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.GroupNameProperty.html">GroupNameProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the GroupName dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarToggleButton_LabelTitleProperty" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.LabelTitleProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.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_C1ToolbarToggleButton_LargeImageSourceProperty" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.LargeImageSourceProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.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_C1ToolbarToggleButton_MouseOverBrushProperty" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.MouseOverBrush.html#C1_WPF_Toolbar_C1ToolbarToggleButton_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarToggleButton_PressedBrushProperty" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.PressedBrushProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.PressedBrush.html#C1_WPF_Toolbar_C1ToolbarToggleButton_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarToggleButton_SmallImageSourceProperty" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.SmallImageSourceProperty">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.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_C1ToolbarToggleButton_GroupName" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.GroupName">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.GroupName.html#C1_WPF_Toolbar_C1ToolbarToggleButton_GroupName">GroupName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name that specifies which C1ToolbarToggleButton controls are mutually exclusive.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarToggleButton_LabelTitle" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.LabelTitle">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.LabelTitle.html#C1_WPF_Toolbar_C1ToolbarToggleButton_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_C1ToolbarToggleButton_LargeImageSource" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.LargeImageSource">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.LargeImageSource.html#C1_WPF_Toolbar_C1ToolbarToggleButton_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_C1ToolbarToggleButton_MouseOverBrush" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.MouseOverBrush">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.MouseOverBrush.html#C1_WPF_Toolbar_C1ToolbarToggleButton_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_C1ToolbarToggleButton_PressedBrush" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.PressedBrush">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.PressedBrush.html#C1_WPF_Toolbar_C1ToolbarToggleButton_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_C1ToolbarToggleButton_SmallImageSource" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.SmallImageSource">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.SmallImageSource.html#C1_WPF_Toolbar_C1ToolbarToggleButton_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_C1ToolbarToggleButton_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.MeasureOverride.html#C1_WPF_Toolbar_C1ToolbarToggleButton_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_C1ToolbarToggleButton_OnApplyTemplate" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.OnApplyTemplate.html#C1_WPF_Toolbar_C1ToolbarToggleButton_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked during a call of ApplyTemplate() method.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarToggleButton_OnChecked_System_Windows_RoutedEventArgs_" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.OnChecked(System.Windows.RoutedEventArgs)">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.OnChecked.html#C1_WPF_Toolbar_C1ToolbarToggleButton_OnChecked_System_Windows_RoutedEventArgs_">OnChecked(RoutedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when button is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Toolbar_C1ToolbarToggleButton_OnToggle" data-uid="C1.WPF.Toolbar.C1ToolbarToggleButton.OnToggle">
          <a class="xref" href="C1.WPF.Toolbar.C1ToolbarToggleButton.OnToggle.html#C1_WPF_Toolbar_C1ToolbarToggleButton_OnToggle">OnToggle()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when toggling button state.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
