# C1.Win.Input.Styles.StateThumbStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Styles_StateThumbStyle" data-uid="C1.Win.Input.Styles.StateThumbStyle" class="text-break">StateThumbStyle Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.html">StateThumbStyle</a> contains display attributes that determine the general appearance of the Thumb element in some state.</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.Win.10/C1.Win.Themes.StyledPropertyCollection.html">StyledPropertyCollection</a></div>
    <div class="level2"><a class="xref" href="../C1.Win.10/C1.Win.Themes.BaseStyle.html">BaseStyle</a></div>
    <div class="level3"><a class="xref" href="../C1.Win.10/C1.Win.Themes.BaseC1FrameworkStyle.html">BaseC1FrameworkStyle</a></div>
    <div class="level4"><a class="xref" href="C1.Win.Input.Styles.StateElementBaseStyle.html">StateElementBaseStyle</a></div>
    <div class="level5"><span class="xref">StateThumbStyle</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <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.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_StateThumbStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StateThumbStyle : StateElementBaseStyle, INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StateThumbStyle
    Inherits StateElementBaseStyle
    Implements INotifyPropertyChanged, 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_Win_Input_Styles_StateThumbStyle__ctor" data-uid="C1.Win.Input.Styles.StateThumbStyle.#ctor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.-ctor.html#C1_Win_Input_Styles_StateThumbStyle__ctor">StateThumbStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.html">StateThumbStyle</a>.</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_Win_Input_Styles_StateThumbStyle_BackColor" data-uid="C1.Win.Input.Styles.StateThumbStyle.BackColor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.BackColor.html#C1_Win_Input_Styles_StateThumbStyle_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_BorderColor" data-uid="C1.Win.Input.Styles.StateThumbStyle.BorderColor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.BorderColor.html#C1_Win_Input_Styles_StateThumbStyle_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to draw the border around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_Margins" data-uid="C1.Win.Input.Styles.StateThumbStyle.Margins">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.Margins.html#C1_Win_Input_Styles_StateThumbStyle_Margins">Margins</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the margins around the element.</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_StateThumbStyle_ResetBackColor" data-uid="C1.Win.Input.Styles.StateThumbStyle.ResetBackColor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.ResetBackColor.html#C1_Win_Input_Styles_StateThumbStyle_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.BackColor.html#C1_Win_Input_Styles_StateThumbStyle_BackColor">BackColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_ResetBorderColor" data-uid="C1.Win.Input.Styles.StateThumbStyle.ResetBorderColor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.ResetBorderColor.html#C1_Win_Input_Styles_StateThumbStyle_ResetBorderColor">ResetBorderColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.BorderColor.html#C1_Win_Input_Styles_StateThumbStyle_BorderColor">BorderColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_ResetMargins" data-uid="C1.Win.Input.Styles.StateThumbStyle.ResetMargins">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.ResetMargins.html#C1_Win_Input_Styles_StateThumbStyle_ResetMargins">ResetMargins()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.Margins.html#C1_Win_Input_Styles_StateThumbStyle_Margins">Margins</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_ShouldSerializeBackColor" data-uid="C1.Win.Input.Styles.StateThumbStyle.ShouldSerializeBackColor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.ShouldSerializeBackColor.html#C1_Win_Input_Styles_StateThumbStyle_ShouldSerializeBackColor">ShouldSerializeBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.BackColor.html#C1_Win_Input_Styles_StateThumbStyle_BackColor">BackColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_ShouldSerializeBorderColor" data-uid="C1.Win.Input.Styles.StateThumbStyle.ShouldSerializeBorderColor">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.ShouldSerializeBorderColor.html#C1_Win_Input_Styles_StateThumbStyle_ShouldSerializeBorderColor">ShouldSerializeBorderColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.BorderColor.html#C1_Win_Input_Styles_StateThumbStyle_BorderColor">BorderColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateThumbStyle_ShouldSerializeMargins" data-uid="C1.Win.Input.Styles.StateThumbStyle.ShouldSerializeMargins">
          <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.ShouldSerializeMargins.html#C1_Win_Input_Styles_StateThumbStyle_ShouldSerializeMargins">ShouldSerializeMargins()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.StateThumbStyle.Margins.html#C1_Win_Input_Styles_StateThumbStyle_Margins">Margins</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
