# C1.Win.Input.Styles.ButtonStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Styles_ButtonStyle" data-uid="C1.Win.Input.Styles.ButtonStyle" class="text-break">ButtonStyle Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.html">ButtonStyle</a> class represents the button element style.</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">ButtonStyle</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.Styles.html">C1.Win.Input.Styles</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_Styles_ButtonStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ButtonStyle : BaseC1FrameworkStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ButtonStyle
    Inherits BaseC1FrameworkStyle</code></pre>
  </div>
  <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_Win_Input_Styles_ButtonStyle_Border" data-uid="C1.Win.Input.Styles.ButtonStyle.Border">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Border.html#C1_Win_Input_Styles_ButtonStyle_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the border around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_Corners" data-uid="C1.Win.Input.Styles.ButtonStyle.Corners">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Corners.html#C1_Win_Input_Styles_ButtonStyle_Corners">Corners</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the radii of the element corners.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_Default" data-uid="C1.Win.Input.Styles.ButtonStyle.Default">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Default.html#C1_Win_Input_Styles_ButtonStyle_Default">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of the element in the default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_Disabled" data-uid="C1.Win.Input.Styles.ButtonStyle.Disabled">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Disabled.html#C1_Win_Input_Styles_ButtonStyle_Disabled">Disabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of the disabled element on the screen.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_Hot" data-uid="C1.Win.Input.Styles.ButtonStyle.Hot">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Hot.html#C1_Win_Input_Styles_ButtonStyle_Hot">Hot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of element on the screen when the cursor is over it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_HotPressed" data-uid="C1.Win.Input.Styles.ButtonStyle.HotPressed">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.HotPressed.html#C1_Win_Input_Styles_ButtonStyle_HotPressed">HotPressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of the pressed element on the screen when the cursor is over it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_Parent" data-uid="C1.Win.Input.Styles.ButtonStyle.Parent">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Parent.html#C1_Win_Input_Styles_ButtonStyle_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent collection. If some properties are reset or not initialized,
the collection will search for them from the parent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_Pressed" data-uid="C1.Win.Input.Styles.ButtonStyle.Pressed">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Pressed.html#C1_Win_Input_Styles_ButtonStyle_Pressed">Pressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of the pressed element on the screen.</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_Win_Input_Styles_ButtonStyle_ApplyToStyle_C1_Framework_Style_" data-uid="C1.Win.Input.Styles.ButtonStyle.ApplyToStyle(C1.Framework.Style)">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ApplyToStyle.html#C1_Win_Input_Styles_ButtonStyle_ApplyToStyle_C1_Framework_Style_">ApplyToStyle(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies style to destination <span class="xref">C1.Framework.Style</span> object if it is possible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetBorder" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetBorder">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetBorder.html#C1_Win_Input_Styles_ButtonStyle_ResetBorder">ResetBorder()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Border.html#C1_Win_Input_Styles_ButtonStyle_Border">Border</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetCorners" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetCorners">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetCorners.html#C1_Win_Input_Styles_ButtonStyle_ResetCorners">ResetCorners()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Corners.html#C1_Win_Input_Styles_ButtonStyle_Corners">Corners</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetDefault" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetDefault">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetDefault.html#C1_Win_Input_Styles_ButtonStyle_ResetDefault">ResetDefault()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Default.html#C1_Win_Input_Styles_ButtonStyle_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetDisabled" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetDisabled">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetDisabled.html#C1_Win_Input_Styles_ButtonStyle_ResetDisabled">ResetDisabled()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Disabled.html#C1_Win_Input_Styles_ButtonStyle_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetHot" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetHot">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetHot.html#C1_Win_Input_Styles_ButtonStyle_ResetHot">ResetHot()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Hot.html#C1_Win_Input_Styles_ButtonStyle_Hot">Hot</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetHotPressed" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetHotPressed">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetHotPressed.html#C1_Win_Input_Styles_ButtonStyle_ResetHotPressed">ResetHotPressed()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.HotPressed.html#C1_Win_Input_Styles_ButtonStyle_HotPressed">HotPressed</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ResetPressed" data-uid="C1.Win.Input.Styles.ButtonStyle.ResetPressed">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ResetPressed.html#C1_Win_Input_Styles_ButtonStyle_ResetPressed">ResetPressed()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Pressed.html#C1_Win_Input_Styles_ButtonStyle_Pressed">Pressed</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializeBorder" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeBorder">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeBorder.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializeBorder">ShouldSerializeBorder()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Border.html#C1_Win_Input_Styles_ButtonStyle_Border">Border</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializeCorners" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeCorners">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeCorners.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializeCorners">ShouldSerializeCorners()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Corners.html#C1_Win_Input_Styles_ButtonStyle_Corners">Corners</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializeDefault" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeDefault">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeDefault.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializeDefault">ShouldSerializeDefault()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Default.html#C1_Win_Input_Styles_ButtonStyle_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializeDisabled" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeDisabled">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeDisabled.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializeDisabled">ShouldSerializeDisabled()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Disabled.html#C1_Win_Input_Styles_ButtonStyle_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializeHot" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeHot">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeHot.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializeHot">ShouldSerializeHot()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Hot.html#C1_Win_Input_Styles_ButtonStyle_Hot">Hot</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializeHotPressed" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeHotPressed">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializeHotPressed.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializeHotPressed">ShouldSerializeHotPressed()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.HotPressed.html#C1_Win_Input_Styles_ButtonStyle_HotPressed">HotPressed</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ButtonStyle_ShouldSerializePressed" data-uid="C1.Win.Input.Styles.ButtonStyle.ShouldSerializePressed">
          <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.ShouldSerializePressed.html#C1_Win_Input_Styles_ButtonStyle_ShouldSerializePressed">ShouldSerializePressed()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ButtonStyle.Pressed.html#C1_Win_Input_Styles_ButtonStyle_Pressed">Pressed</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
