# C1.WinUI.Core.C1Button

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Core_C1Button" data-uid="C1.WinUI.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"><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.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WinUI.Core.html">C1.WinUI.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Core.dll</h6>
  <h5 id="C1_WinUI_Core_C1Button_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Button : Button, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Button
    Inherits Button
    Implements 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_WinUI_Core_C1Button__ctor" data-uid="C1.WinUI.Core.C1Button.#ctor">
          <a class="xref" href="C1.WinUI.Core.C1Button.-ctor.html#C1_WinUI_Core_C1Button__ctor">C1Button()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WinUI.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_WinUI_Core_C1Button_BorderAlignmentProperty" data-uid="C1.WinUI.Core.C1Button.BorderAlignmentProperty">
          <a class="xref" href="C1.WinUI.Core.C1Button.BorderAlignmentProperty.html">BorderAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Core.C1Button.BorderAlignment.html#C1_WinUI_Core_C1Button_BorderAlignment">BorderAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_CornerRadiusProperty" data-uid="C1.WinUI.Core.C1Button.CornerRadiusProperty">
          <a class="xref" href="C1.WinUI.Core.C1Button.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Core.C1Button.CornerRadius.html#C1_WinUI_Core_C1Button_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_FocusBrushProperty" data-uid="C1.WinUI.Core.C1Button.FocusBrushProperty">
          <a class="xref" href="C1.WinUI.Core.C1Button.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Core.C1Button.FocusBrush.html#C1_WinUI_Core_C1Button_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_MouseOverBrushProperty" data-uid="C1.WinUI.Core.C1Button.MouseOverBrushProperty">
          <a class="xref" href="C1.WinUI.Core.C1Button.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Core.C1Button.MouseOverBrush.html#C1_WinUI_Core_C1Button_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_PressedBrushProperty" data-uid="C1.WinUI.Core.C1Button.PressedBrushProperty">
          <a class="xref" href="C1.WinUI.Core.C1Button.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Core.C1Button.PressedBrush.html#C1_WinUI_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_WinUI_Core_C1Button_BorderAlignment" data-uid="C1.WinUI.Core.C1Button.BorderAlignment">
          <a class="xref" href="C1.WinUI.Core.C1Button.BorderAlignment.html#C1_WinUI_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_WinUI_Core_C1Button_CornerRadius" data-uid="C1.WinUI.Core.C1Button.CornerRadius">
          <a class="xref" href="C1.WinUI.Core.C1Button.CornerRadius.html#C1_WinUI_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_WinUI_Core_C1Button_FocusBrush" data-uid="C1.WinUI.Core.C1Button.FocusBrush">
          <a class="xref" href="C1.WinUI.Core.C1Button.FocusBrush.html#C1_WinUI_Core_C1Button_FocusBrush">FocusBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.UI.Xaml.Media.Brush</span> used to highlight the focused control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_IsDisposed" data-uid="C1.WinUI.Core.C1Button.IsDisposed">
          <a class="xref" href="C1.WinUI.Core.C1Button.IsDisposed.html#C1_WinUI_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_WinUI_Core_C1Button_MouseOverBrush" data-uid="C1.WinUI.Core.C1Button.MouseOverBrush">
          <a class="xref" href="C1.WinUI.Core.C1Button.MouseOverBrush.html#C1_WinUI_Core_C1Button_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.UI.Xaml.Media.Brush</span> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_PressedBrush" data-uid="C1.WinUI.Core.C1Button.PressedBrush">
          <a class="xref" href="C1.WinUI.Core.C1Button.PressedBrush.html#C1_WinUI_Core_C1Button_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.UI.Xaml.Media.Brush</span> 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_WinUI_Core_C1Button_Dispose" data-uid="C1.WinUI.Core.C1Button.Dispose">
          <a class="xref" href="C1.WinUI.Core.C1Button.Dispose.html#C1_WinUI_Core_C1Button_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_Dispose_System_Boolean_" data-uid="C1.WinUI.Core.C1Button.Dispose(System.Boolean)">
          <a class="xref" href="C1.WinUI.Core.C1Button.Dispose.html#C1_WinUI_Core_C1Button_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_Finalize" data-uid="C1.WinUI.Core.C1Button.Finalize">
          <a class="xref" href="C1.WinUI.Core.C1Button.Finalize.html#C1_WinUI_Core_C1Button_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WinUI.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1Button_OnApplyTemplate" data-uid="C1.WinUI.Core.C1Button.OnApplyTemplate">
          <a class="xref" href="C1.WinUI.Core.C1Button.OnApplyTemplate.html#C1_WinUI_Core_C1Button_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
