# C1.Win.Input.Styles.StateUnderlineStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Styles_StateUnderlineStyle" data-uid="C1.Win.Input.Styles.StateUnderlineStyle" class="text-break">StateUnderlineStyle Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.html">StateUnderlineStyle</a> contains display attributes that determine the general appearance of the underline in some state on the screen.</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">StateUnderlineStyle</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_StateUnderlineStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StateUnderlineStyle : StateElementBaseStyle, INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StateUnderlineStyle
    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_StateUnderlineStyle__ctor" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.#ctor">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.-ctor.html#C1_Win_Input_Styles_StateUnderlineStyle__ctor">StateUnderlineStyle()</a>
        </td>
        <td class="markdown level1 summary"></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_StateUnderlineStyle_Color" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.Color">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Color.html#C1_Win_Input_Styles_StateUnderlineStyle_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Color.html#C1_Win_Input_Styles_StateUnderlineStyle_Color">Color</a> used to draw the underline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_Indent" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.Indent">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Indent.html#C1_Win_Input_Styles_StateUnderlineStyle_Indent">Indent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left and right indentation of the underline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_Width" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.Width">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Width.html#C1_Win_Input_Styles_StateUnderlineStyle_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the underline.</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_StateUnderlineStyle_ResetColor" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.ResetColor">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.ResetColor.html#C1_Win_Input_Styles_StateUnderlineStyle_ResetColor">ResetColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Color.html#C1_Win_Input_Styles_StateUnderlineStyle_Color">Color</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_ResetForeIndent" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.ResetForeIndent">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.ResetForeIndent.html#C1_Win_Input_Styles_StateUnderlineStyle_ResetForeIndent">ResetForeIndent()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Indent.html#C1_Win_Input_Styles_StateUnderlineStyle_Indent">Indent</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_ResetForeWidth" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.ResetForeWidth">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.ResetForeWidth.html#C1_Win_Input_Styles_StateUnderlineStyle_ResetForeWidth">ResetForeWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Width.html#C1_Win_Input_Styles_StateUnderlineStyle_Width">Width</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_ShouldSerializeColor" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.ShouldSerializeColor">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.ShouldSerializeColor.html#C1_Win_Input_Styles_StateUnderlineStyle_ShouldSerializeColor">ShouldSerializeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Color.html#C1_Win_Input_Styles_StateUnderlineStyle_Color">Color</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_ShouldSerializeIndent" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.ShouldSerializeIndent">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.ShouldSerializeIndent.html#C1_Win_Input_Styles_StateUnderlineStyle_ShouldSerializeIndent">ShouldSerializeIndent()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Indent.html#C1_Win_Input_Styles_StateUnderlineStyle_Indent">Indent</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_StateUnderlineStyle_ShouldSerializeWidth" data-uid="C1.Win.Input.Styles.StateUnderlineStyle.ShouldSerializeWidth">
          <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.ShouldSerializeWidth.html#C1_Win_Input_Styles_StateUnderlineStyle_ShouldSerializeWidth">ShouldSerializeWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.StateUnderlineStyle.Width.html#C1_Win_Input_Styles_StateUnderlineStyle_Width">Width</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
