# C1.Android.Core.C1Button

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Android_Core_C1Button" data-uid="C1.Android.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.Android.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="C1.Android.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Android.Core.html">C1.Android.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Android.Core.dll</h6>
  <h5 id="C1_Android_Core_C1Button_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Button : C1View, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Button
    Inherits C1View
    Implements IDependencyObject</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_Android_Core_C1Button__ctor_Android_Content_Context_" data-uid="C1.Android.Core.C1Button.#ctor(Android.Content.Context)">
          <a class="xref" href="C1.Android.Core.C1Button.-ctor.html#C1_Android_Core_C1Button__ctor_Android_Content_Context_">C1Button(Context)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button__ctor_Android_Content_Context_Android_Util_IAttributeSet_" data-uid="C1.Android.Core.C1Button.#ctor(Android.Content.Context,Android.Util.IAttributeSet)">
          <a class="xref" href="C1.Android.Core.C1Button.-ctor.html#C1_Android_Core_C1Button__ctor_Android_Content_Context_Android_Util_IAttributeSet_">C1Button(Context, IAttributeSet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_" data-uid="C1.Android.Core.C1Button.#ctor(Android.Content.Context,Android.Util.IAttributeSet,System.Int32)">
          <a class="xref" href="C1.Android.Core.C1Button.-ctor.html#C1_Android_Core_C1Button__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_">C1Button(Context, IAttributeSet, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_" data-uid="C1.Android.Core.C1Button.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)">
          <a class="xref" href="C1.Android.Core.C1Button.-ctor.html#C1_Android_Core_C1Button__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_">C1Button(nint, JniHandleOwnership)</a>
        </td>
        <td class="markdown level1 summary"></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_Android_Core_C1Button_ContentProperty" data-uid="C1.Android.Core.C1Button.ContentProperty">
          <a class="xref" href="C1.Android.Core.C1Button.ContentProperty.html">ContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1Button.Content.html#C1_Android_Core_C1Button_Content">Content</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_FocusBrushProperty" data-uid="C1.Android.Core.C1Button.FocusBrushProperty">
          <a class="xref" href="C1.Android.Core.C1Button.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1Button.FocusBrush.html#C1_Android_Core_C1Button_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_IsFocusableProperty" data-uid="C1.Android.Core.C1Button.IsFocusableProperty">
          <a class="xref" href="C1.Android.Core.C1Button.IsFocusableProperty.html">IsFocusableProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1Button.IsFocusable.html#C1_Android_Core_C1Button_IsFocusable">IsFocusable</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_MouseOverBrushProperty" data-uid="C1.Android.Core.C1Button.MouseOverBrushProperty">
          <a class="xref" href="C1.Android.Core.C1Button.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1Button.MouseOverBrush.html#C1_Android_Core_C1Button_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_PressedBrushProperty" data-uid="C1.Android.Core.C1Button.PressedBrushProperty">
          <a class="xref" href="C1.Android.Core.C1Button.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1Button.PressedBrush.html#C1_Android_Core_C1Button_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button__content" data-uid="C1.Android.Core.C1Button._content">
          <a class="xref" href="C1.Android.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_Android_Core_C1Button__isFocusable" data-uid="C1.Android.Core.C1Button._isFocusable">
          <a class="xref" href="C1.Android.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_Android_Core_C1Button_Content" data-uid="C1.Android.Core.C1Button.Content">
          <a class="xref" href="C1.Android.Core.C1Button.Content.html#C1_Android_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_Android_Core_C1Button_FocusBrush" data-uid="C1.Android.Core.C1Button.FocusBrush">
          <a class="xref" href="C1.Android.Core.C1Button.FocusBrush.html#C1_Android_Core_C1Button_FocusBrush">FocusBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Android.Graphics.Drawables.Drawable</span> used to highlight the focused control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_IsFocusable" data-uid="C1.Android.Core.C1Button.IsFocusable">
          <a class="xref" href="C1.Android.Core.C1Button.IsFocusable.html#C1_Android_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_Android_Core_C1Button_MouseOverBrush" data-uid="C1.Android.Core.C1Button.MouseOverBrush">
          <a class="xref" href="C1.Android.Core.C1Button.MouseOverBrush.html#C1_Android_Core_C1Button_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Android.Graphics.Drawables.Drawable</span> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_PressedBrush" data-uid="C1.Android.Core.C1Button.PressedBrush">
          <a class="xref" href="C1.Android.Core.C1Button.PressedBrush.html#C1_Android_Core_C1Button_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Android.Graphics.Drawables.Drawable</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_Android_Core_C1Button_Dispose_System_Boolean_" data-uid="C1.Android.Core.C1Button.Dispose(System.Boolean)">
          <a class="xref" href="C1.Android.Core.C1Button.Dispose.html#C1_Android_Core_C1Button_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_Draw_Android_Graphics_Canvas_" data-uid="C1.Android.Core.C1Button.Draw(Android.Graphics.Canvas)">
          <a class="xref" href="C1.Android.Core.C1Button.Draw.html#C1_Android_Core_C1Button_Draw_Android_Graphics_Canvas_">Draw(Canvas)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnAttachedToWindow" data-uid="C1.Android.Core.C1Button.OnAttachedToWindow">
          <a class="xref" href="C1.Android.Core.C1Button.OnAttachedToWindow.html#C1_Android_Core_C1Button_OnAttachedToWindow">OnAttachedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnBackgroundChanged" data-uid="C1.Android.Core.C1Button.OnBackgroundChanged">
          <a class="xref" href="C1.Android.Core.C1Button.OnBackgroundChanged.html#C1_Android_Core_C1Button_OnBackgroundChanged">OnBackgroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the background changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnBorderBrushChanged" data-uid="C1.Android.Core.C1Button.OnBorderBrushChanged">
          <a class="xref" href="C1.Android.Core.C1Button.OnBorderBrushChanged.html#C1_Android_Core_C1Button_OnBorderBrushChanged">OnBorderBrushChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the border brush changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnBorderThicknessChanged" data-uid="C1.Android.Core.C1Button.OnBorderThicknessChanged">
          <a class="xref" href="C1.Android.Core.C1Button.OnBorderThicknessChanged.html#C1_Android_Core_C1Button_OnBorderThicknessChanged">OnBorderThicknessChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the border thickness changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnCornerRadiusChanged" data-uid="C1.Android.Core.C1Button.OnCornerRadiusChanged">
          <a class="xref" href="C1.Android.Core.C1Button.OnCornerRadiusChanged.html#C1_Android_Core_C1Button_OnCornerRadiusChanged">OnCornerRadiusChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the corner-radius changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnDetachedFromWindow" data-uid="C1.Android.Core.C1Button.OnDetachedFromWindow">
          <a class="xref" href="C1.Android.Core.C1Button.OnDetachedFromWindow.html#C1_Android_Core_C1Button_OnDetachedFromWindow">OnDetachedFromWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnFocusChanged_System_Boolean_Android_Views_FocusSearchDirection_Android_Graphics_Rect_" data-uid="C1.Android.Core.C1Button.OnFocusChanged(System.Boolean,Android.Views.FocusSearchDirection,Android.Graphics.Rect)">
          <a class="xref" href="C1.Android.Core.C1Button.OnFocusChanged.html#C1_Android_Core_C1Button_OnFocusChanged_System_Boolean_Android_Views_FocusSearchDirection_Android_Graphics_Rect_">OnFocusChanged(bool, FocusSearchDirection, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnLayout_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Android.Core.C1Button.OnLayout(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Android.Core.C1Button.OnLayout.html#C1_Android_Core_C1Button_OnLayout_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_">OnLayout(bool, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnMeasure_System_Int32_System_Int32_" data-uid="C1.Android.Core.C1Button.OnMeasure(System.Int32,System.Int32)">
          <a class="xref" href="C1.Android.Core.C1Button.OnMeasure.html#C1_Android_Core_C1Button_OnMeasure_System_Int32_System_Int32_">OnMeasure(int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1Button_OnPaddingChanged" data-uid="C1.Android.Core.C1Button.OnPaddingChanged">
          <a class="xref" href="C1.Android.Core.C1Button.OnPaddingChanged.html#C1_Android_Core_C1Button_OnPaddingChanged">OnPaddingChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the padding changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
