# C1.WPF.Core.C1Button

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Core_C1Button" data-uid="C1.WPF.Core.C1Button" class="text-break">C1Button Class
</h1>
  <div class="markdown level0 summary"><p>Button with a built-in style matching the suite.</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.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.buttonbase">ButtonBase</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.button">Button</a></div>
    <div class="level8"><span class="xref">C1Button</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Core.html">C1.WPF.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Core.dll</h6>
  <h5 id="C1_WPF_Core_C1Button_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Button : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Button
    Inherits Button
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, IDisposable</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_Core_C1Button__ctor" data-uid="C1.WPF.Core.C1Button.#ctor">
          <a class="xref" href="C1.WPF.Core.C1Button.-ctor.html#C1_WPF_Core_C1Button__ctor">C1Button()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Core.C1Button.html">C1Button</a> class.</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_Core_C1Button_BorderAlignmentProperty" data-uid="C1.WPF.Core.C1Button.BorderAlignmentProperty">
          <a class="xref" href="C1.WPF.Core.C1Button.BorderAlignmentProperty.html">BorderAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Core.C1Button.BorderAlignment.html#C1_WPF_Core_C1Button_BorderAlignment">BorderAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_CornerRadiusProperty" data-uid="C1.WPF.Core.C1Button.CornerRadiusProperty">
          <a class="xref" href="C1.WPF.Core.C1Button.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Core.C1Button.CornerRadius.html#C1_WPF_Core_C1Button_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_FocusBrushProperty" data-uid="C1.WPF.Core.C1Button.FocusBrushProperty">
          <a class="xref" href="C1.WPF.Core.C1Button.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Core.C1Button.FocusBrush.html#C1_WPF_Core_C1Button_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_MouseOverBrushProperty" data-uid="C1.WPF.Core.C1Button.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.Core.C1Button.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Core.C1Button.MouseOverBrush.html#C1_WPF_Core_C1Button_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_PressedBrushProperty" data-uid="C1.WPF.Core.C1Button.PressedBrushProperty">
          <a class="xref" href="C1.WPF.Core.C1Button.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Core.C1Button.PressedBrush.html#C1_WPF_Core_C1Button_PressedBrush">PressedBrush</a> dependency property.</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_Core_C1Button_AccentStyle" data-uid="C1.WPF.Core.C1Button.AccentStyle">
          <a class="xref" href="C1.WPF.Core.C1Button.AccentStyle.html#C1_WPF_Core_C1Button_AccentStyle">AccentStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a style used for default buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_AccentStyleKey" data-uid="C1.WPF.Core.C1Button.AccentStyleKey">
          <a class="xref" href="C1.WPF.Core.C1Button.AccentStyleKey.html#C1_WPF_Core_C1Button_AccentStyleKey">AccentStyleKey</a>
        </td>
        <td class="markdown level1 summary"><p>Resource key for a button accent style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_BorderAlignment" data-uid="C1.WPF.Core.C1Button.BorderAlignment">
          <a class="xref" href="C1.WPF.Core.C1Button.BorderAlignment.html#C1_WPF_Core_C1Button_BorderAlignment">BorderAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the border relative to the control bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_CornerRadius" data-uid="C1.WPF.Core.C1Button.CornerRadius">
          <a class="xref" href="C1.WPF.Core.C1Button.CornerRadius.html#C1_WPF_Core_C1Button_CornerRadius">CornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the corners radius.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_FocusBrush" data-uid="C1.WPF.Core.C1Button.FocusBrush">
          <a class="xref" href="C1.WPF.Core.C1Button.FocusBrush.html#C1_WPF_Core_C1Button_FocusBrush">FocusBrush</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 focused control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_IsDisposed" data-uid="C1.WPF.Core.C1Button.IsDisposed">
          <a class="xref" href="C1.WPF.Core.C1Button.IsDisposed.html#C1_WPF_Core_C1Button_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_MouseOverBrush" data-uid="C1.WPF.Core.C1Button.MouseOverBrush">
          <a class="xref" href="C1.WPF.Core.C1Button.MouseOverBrush.html#C1_WPF_Core_C1Button_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_Core_C1Button_PressedBrush" data-uid="C1.WPF.Core.C1Button.PressedBrush">
          <a class="xref" href="C1.WPF.Core.C1Button.PressedBrush.html#C1_WPF_Core_C1Button_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>
    </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_Core_C1Button_Dispose" data-uid="C1.WPF.Core.C1Button.Dispose">
          <a class="xref" href="C1.WPF.Core.C1Button.Dispose.html#C1_WPF_Core_C1Button_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_Dispose_System_Boolean_" data-uid="C1.WPF.Core.C1Button.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Core.C1Button.Dispose.html#C1_WPF_Core_C1Button_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_Finalize" data-uid="C1.WPF.Core.C1Button.Finalize">
          <a class="xref" href="C1.WPF.Core.C1Button.Finalize.html#C1_WPF_Core_C1Button_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_OnApplyTemplate" data-uid="C1.WPF.Core.C1Button.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Core.C1Button.OnApplyTemplate.html#C1_WPF_Core_C1Button_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.Core.C1Button.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.Core.C1Button.OnPropertyChanged.html#C1_WPF_Core_C1Button_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Core_C1Button_OnTouchDown_System_Windows_Input_TouchEventArgs_" data-uid="C1.WPF.Core.C1Button.OnTouchDown(System.Windows.Input.TouchEventArgs)">
          <a class="xref" href="C1.WPF.Core.C1Button.OnTouchDown.html#C1_WPF_Core_C1Button_OnTouchDown_System_Windows_Input_TouchEventArgs_">OnTouchDown(TouchEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
