# C1.Maui.Core.C1Button

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Core_C1Button" data-uid="C1.Maui.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="C1.Maui.Core.C1View.html">C1View</a></div>
    <div class="level2"><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.Maui.Core.html">C1.Maui.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Core.dll</h6>
  <h5 id="C1_Maui_Core_C1Button_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Button : C1View, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Button
    Inherits C1View
    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_Maui_Core_C1Button__ctor" data-uid="C1.Maui.Core.C1Button.#ctor">
          <a class="xref" href="C1.Maui.Core.C1Button.-ctor.html#C1_Maui_Core_C1Button__ctor">C1Button()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Maui.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_Maui_Core_C1Button_BorderAlignmentProperty" data-uid="C1.Maui.Core.C1Button.BorderAlignmentProperty">
          <a class="xref" href="C1.Maui.Core.C1Button.BorderAlignmentProperty.html">BorderAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Button.BorderAlignment.html#C1_Maui_Core_C1Button_BorderAlignment">BorderAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_ContentProperty" data-uid="C1.Maui.Core.C1Button.ContentProperty">
          <a class="xref" href="C1.Maui.Core.C1Button.ContentProperty.html">ContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Button.Content.html#C1_Maui_Core_C1Button_Content">Content</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_FocusBrushProperty" data-uid="C1.Maui.Core.C1Button.FocusBrushProperty">
          <a class="xref" href="C1.Maui.Core.C1Button.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Button.FocusBrush.html#C1_Maui_Core_C1Button_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_IsFocusableProperty" data-uid="C1.Maui.Core.C1Button.IsFocusableProperty">
          <a class="xref" href="C1.Maui.Core.C1Button.IsFocusableProperty.html">IsFocusableProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Button.IsFocusable.html#C1_Maui_Core_C1Button_IsFocusable">IsFocusable</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_MouseOverBrushProperty" data-uid="C1.Maui.Core.C1Button.MouseOverBrushProperty">
          <a class="xref" href="C1.Maui.Core.C1Button.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Button.MouseOverBrush.html#C1_Maui_Core_C1Button_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_PressedBrushProperty" data-uid="C1.Maui.Core.C1Button.PressedBrushProperty">
          <a class="xref" href="C1.Maui.Core.C1Button.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Button.PressedBrush.html#C1_Maui_Core_C1Button_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button__content" data-uid="C1.Maui.Core.C1Button._content">
          <a class="xref" href="C1.Maui.Core.C1Button._content.html">_content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the button content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button__isFocusable" data-uid="C1.Maui.Core.C1Button._isFocusable">
          <a class="xref" href="C1.Maui.Core.C1Button._isFocusable.html">_isFocusable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the button can receive the focus.</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_Maui_Core_C1Button_BorderAlignment" data-uid="C1.Maui.Core.C1Button.BorderAlignment">
          <a class="xref" href="C1.Maui.Core.C1Button.BorderAlignment.html#C1_Maui_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_Maui_Core_C1Button_Content" data-uid="C1.Maui.Core.C1Button.Content">
          <a class="xref" href="C1.Maui.Core.C1Button.Content.html#C1_Maui_Core_C1Button_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the button content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_FocusBrush" data-uid="C1.Maui.Core.C1Button.FocusBrush">
          <a class="xref" href="C1.Maui.Core.C1Button.FocusBrush.html#C1_Maui_Core_C1Button_FocusBrush">FocusBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.Controls.Brush</span> used to highlight the focused control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_IsFocusable" data-uid="C1.Maui.Core.C1Button.IsFocusable">
          <a class="xref" href="C1.Maui.Core.C1Button.IsFocusable.html#C1_Maui_Core_C1Button_IsFocusable">IsFocusable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the button can receive the focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_MouseOverBrush" data-uid="C1.Maui.Core.C1Button.MouseOverBrush">
          <a class="xref" href="C1.Maui.Core.C1Button.MouseOverBrush.html#C1_Maui_Core_C1Button_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.Controls.Brush</span> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Button_PressedBrush" data-uid="C1.Maui.Core.C1Button.PressedBrush">
          <a class="xref" href="C1.Maui.Core.C1Button.PressedBrush.html#C1_Maui_Core_C1Button_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.Controls.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_Maui_Core_C1Button_Dispose_System_Boolean_" data-uid="C1.Maui.Core.C1Button.Dispose(System.Boolean)">
          <a class="xref" href="C1.Maui.Core.C1Button.Dispose.html#C1_Maui_Core_C1Button_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Maui_Core_C1Button_Click" data-uid="C1.Maui.Core.C1Button.Click">
          <a class="xref" href="C1.Maui.Core.C1Button.Click.html">Click</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the button is clicked.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
