# C1.iOS.Core.C1Button

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_iOS_Core_C1Button" data-uid="C1.iOS.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.iOS.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.iOS.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.iOS.Core.html">C1.iOS.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.iOS.Core.dll</h6>
  <h5 id="C1_iOS_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_iOS_Core_C1Button__ctor" data-uid="C1.iOS.Core.C1Button.#ctor">
          <a class="xref" href="C1.iOS.Core.C1Button.-ctor.html#C1_iOS_Core_C1Button__ctor">C1Button()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button__ctor_CoreGraphics_CGRect_" data-uid="C1.iOS.Core.C1Button.#ctor(CoreGraphics.CGRect)">
          <a class="xref" href="C1.iOS.Core.C1Button.-ctor.html#C1_iOS_Core_C1Button__ctor_CoreGraphics_CGRect_">C1Button(CGRect)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Button.html">C1Button</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button__ctor_System_IntPtr_" data-uid="C1.iOS.Core.C1Button.#ctor(System.IntPtr)">
          <a class="xref" href="C1.iOS.Core.C1Button.-ctor.html#C1_iOS_Core_C1Button__ctor_System_IntPtr_">C1Button(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.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_iOS_Core_C1Button_ContentProperty" data-uid="C1.iOS.Core.C1Button.ContentProperty">
          <a class="xref" href="C1.iOS.Core.C1Button.ContentProperty.html">ContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Button.Content.html#C1_iOS_Core_C1Button_Content">Content</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_FocusBrushProperty" data-uid="C1.iOS.Core.C1Button.FocusBrushProperty">
          <a class="xref" href="C1.iOS.Core.C1Button.FocusBrushProperty.html">FocusBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Button.FocusBrush.html#C1_iOS_Core_C1Button_FocusBrush">FocusBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_IsFocusableProperty" data-uid="C1.iOS.Core.C1Button.IsFocusableProperty">
          <a class="xref" href="C1.iOS.Core.C1Button.IsFocusableProperty.html">IsFocusableProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Button.IsFocusable.html#C1_iOS_Core_C1Button_IsFocusable">IsFocusable</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_MouseOverBrushProperty" data-uid="C1.iOS.Core.C1Button.MouseOverBrushProperty">
          <a class="xref" href="C1.iOS.Core.C1Button.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Button.MouseOverBrush.html#C1_iOS_Core_C1Button_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_PressedBrushProperty" data-uid="C1.iOS.Core.C1Button.PressedBrushProperty">
          <a class="xref" href="C1.iOS.Core.C1Button.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Button.PressedBrush.html#C1_iOS_Core_C1Button_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button__content" data-uid="C1.iOS.Core.C1Button._content">
          <a class="xref" href="C1.iOS.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_iOS_Core_C1Button__isFocusable" data-uid="C1.iOS.Core.C1Button._isFocusable">
          <a class="xref" href="C1.iOS.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_iOS_Core_C1Button_Content" data-uid="C1.iOS.Core.C1Button.Content">
          <a class="xref" href="C1.iOS.Core.C1Button.Content.html#C1_iOS_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_iOS_Core_C1Button_FocusBrush" data-uid="C1.iOS.Core.C1Button.FocusBrush">
          <a class="xref" href="C1.iOS.Core.C1Button.FocusBrush.html#C1_iOS_Core_C1Button_FocusBrush">FocusBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">CoreAnimation.CALayer</span> used to highlight the focused control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_IntrinsicContentSize" data-uid="C1.iOS.Core.C1Button.IntrinsicContentSize">
          <a class="xref" href="C1.iOS.Core.C1Button.IntrinsicContentSize.html#C1_iOS_Core_C1Button_IntrinsicContentSize">IntrinsicContentSize</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_IsFocusable" data-uid="C1.iOS.Core.C1Button.IsFocusable">
          <a class="xref" href="C1.iOS.Core.C1Button.IsFocusable.html#C1_iOS_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_iOS_Core_C1Button_MouseOverBrush" data-uid="C1.iOS.Core.C1Button.MouseOverBrush">
          <a class="xref" href="C1.iOS.Core.C1Button.MouseOverBrush.html#C1_iOS_Core_C1Button_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">CoreAnimation.CALayer</span> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_PressedBrush" data-uid="C1.iOS.Core.C1Button.PressedBrush">
          <a class="xref" href="C1.iOS.Core.C1Button.PressedBrush.html#C1_iOS_Core_C1Button_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">CoreAnimation.CALayer</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_iOS_Core_C1Button_Dispose_System_Boolean_" data-uid="C1.iOS.Core.C1Button.Dispose(System.Boolean)">
          <a class="xref" href="C1.iOS.Core.C1Button.Dispose.html#C1_iOS_Core_C1Button_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_LayoutSubviews" data-uid="C1.iOS.Core.C1Button.LayoutSubviews">
          <a class="xref" href="C1.iOS.Core.C1Button.LayoutSubviews.html#C1_iOS_Core_C1Button_LayoutSubviews">LayoutSubviews()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_MovedToWindow" data-uid="C1.iOS.Core.C1Button.MovedToWindow">
          <a class="xref" href="C1.iOS.Core.C1Button.MovedToWindow.html#C1_iOS_Core_C1Button_MovedToWindow">MovedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_OnBackgroundChanged" data-uid="C1.iOS.Core.C1Button.OnBackgroundChanged">
          <a class="xref" href="C1.iOS.Core.C1Button.OnBackgroundChanged.html#C1_iOS_Core_C1Button_OnBackgroundChanged">OnBackgroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the background changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_OnBorderBrushChanged" data-uid="C1.iOS.Core.C1Button.OnBorderBrushChanged">
          <a class="xref" href="C1.iOS.Core.C1Button.OnBorderBrushChanged.html#C1_iOS_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_iOS_Core_C1Button_OnBorderThicknessChanged" data-uid="C1.iOS.Core.C1Button.OnBorderThicknessChanged">
          <a class="xref" href="C1.iOS.Core.C1Button.OnBorderThicknessChanged.html#C1_iOS_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_iOS_Core_C1Button_OnCornerRadiusChanged" data-uid="C1.iOS.Core.C1Button.OnCornerRadiusChanged">
          <a class="xref" href="C1.iOS.Core.C1Button.OnCornerRadiusChanged.html#C1_iOS_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_iOS_Core_C1Button_OnPaddingChanged" data-uid="C1.iOS.Core.C1Button.OnPaddingChanged">
          <a class="xref" href="C1.iOS.Core.C1Button.OnPaddingChanged.html#C1_iOS_Core_C1Button_OnPaddingChanged">OnPaddingChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the padding changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Button_SizeThatFits_CoreGraphics_CGSize_" data-uid="C1.iOS.Core.C1Button.SizeThatFits(CoreGraphics.CGSize)">
          <a class="xref" href="C1.iOS.Core.C1Button.SizeThatFits.html#C1_iOS_Core_C1Button_SizeThatFits_CoreGraphics_CGSize_">SizeThatFits(CGSize)</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_iOS_Core_C1Button_Click" data-uid="C1.iOS.Core.C1Button.Click">
          <a class="xref" href="C1.iOS.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>
