# C1.Win.Input.Styles.ToggleSwitchStyles

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Styles_ToggleSwitchStyles" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles" class="text-break">ToggleSwitchStyles Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.html">ToggleSwitchStyles</a> class represents the styles for the <a class="xref" href="C1.Win.Input.C1ToggleSwitch.html">C1ToggleSwitch</a> control
which contains display attributes that determine the appearance of control.</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.InputStyles.html">InputStyles</a></div>
    <div class="level5"><span class="xref">ToggleSwitchStyles</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_ToggleSwitchStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ToggleSwitchStyles : InputStyles, INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ToggleSwitchStyles
    Inherits InputStyles
    Implements INotifyPropertyChanged, IDisposable</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_ToggleSwitchStyles_Bar" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.Bar">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Bar.html#C1_Win_Input_Styles_ToggleSwitchStyles_Bar">Bar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style containing display attributes that determine the general appearance of the Bar element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_Default" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.Default">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Default.html#C1_Win_Input_Styles_ToggleSwitchStyles_Default">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 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_ToggleSwitchStyles_Disabled" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.Disabled">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Disabled.html#C1_Win_Input_Styles_ToggleSwitchStyles_Disabled">Disabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 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_ToggleSwitchStyles_Thumb" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.Thumb">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Thumb.html#C1_Win_Input_Styles_ToggleSwitchStyles_Thumb">Thumb</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style containing display attributes that determine the general appearance of the Thumb 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_ToggleSwitchStyles_ApplyToStyle_C1_Framework_Style_" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ApplyToStyle(C1.Framework.Style)">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ApplyToStyle.html#C1_Win_Input_Styles_ToggleSwitchStyles_ApplyToStyle_C1_Framework_Style_">ApplyToStyle(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies style to destination <a class="xref" href="../C1.Win.10/C1.Framework.Style.html">Style</a> object if it is possible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ResetBar" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ResetBar">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ResetBar.html#C1_Win_Input_Styles_ToggleSwitchStyles_ResetBar">ResetBar()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Bar.html#C1_Win_Input_Styles_ToggleSwitchStyles_Bar">Bar</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ResetDefault" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ResetDefault">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ResetDefault.html#C1_Win_Input_Styles_ToggleSwitchStyles_ResetDefault">ResetDefault()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Default.html#C1_Win_Input_Styles_ToggleSwitchStyles_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ResetDisabled" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ResetDisabled">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ResetDisabled.html#C1_Win_Input_Styles_ToggleSwitchStyles_ResetDisabled">ResetDisabled()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Disabled.html#C1_Win_Input_Styles_ToggleSwitchStyles_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ResetThumb" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ResetThumb">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ResetThumb.html#C1_Win_Input_Styles_ToggleSwitchStyles_ResetThumb">ResetThumb()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Thumb.html#C1_Win_Input_Styles_ToggleSwitchStyles_Thumb">Thumb</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ShouldSerializeBar" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeBar">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeBar.html#C1_Win_Input_Styles_ToggleSwitchStyles_ShouldSerializeBar">ShouldSerializeBar()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Bar.html#C1_Win_Input_Styles_ToggleSwitchStyles_Bar">Bar</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ShouldSerializeDefault" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeDefault">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeDefault.html#C1_Win_Input_Styles_ToggleSwitchStyles_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.ToggleSwitchStyles.Default.html#C1_Win_Input_Styles_ToggleSwitchStyles_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ShouldSerializeDisabled" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeDisabled">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeDisabled.html#C1_Win_Input_Styles_ToggleSwitchStyles_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.ToggleSwitchStyles.Disabled.html#C1_Win_Input_Styles_ToggleSwitchStyles_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_ToggleSwitchStyles_ShouldSerializeThumb" data-uid="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeThumb">
          <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.ShouldSerializeThumb.html#C1_Win_Input_Styles_ToggleSwitchStyles_ShouldSerializeThumb">ShouldSerializeThumb()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.ToggleSwitchStyles.Thumb.html#C1_Win_Input_Styles_ToggleSwitchStyles_Thumb">Thumb</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
