# C1.Win.Input.Styles.UnderlineStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Styles_UnderlineStyle" data-uid="C1.Win.Input.Styles.UnderlineStyle" class="text-break">UnderlineStyle Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.html">UnderlineStyle</a> class represents the underline 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"><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"><span class="xref">UnderlineStyle</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_UnderlineStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class UnderlineStyle : BaseC1FrameworkStyle, INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class UnderlineStyle
    Inherits BaseC1FrameworkStyle
    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_UnderlineStyle_Default" data-uid="C1.Win.Input.Styles.UnderlineStyle.Default">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Default.html#C1_Win_Input_Styles_UnderlineStyle_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_UnderlineStyle_Disabled" data-uid="C1.Win.Input.Styles.UnderlineStyle.Disabled">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Disabled.html#C1_Win_Input_Styles_UnderlineStyle_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_UnderlineStyle_Focused" data-uid="C1.Win.Input.Styles.UnderlineStyle.Focused">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Focused.html#C1_Win_Input_Styles_UnderlineStyle_Focused">Focused</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of the focused element on the screen.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_Hot" data-uid="C1.Win.Input.Styles.UnderlineStyle.Hot">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Hot.html#C1_Win_Input_Styles_UnderlineStyle_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_UnderlineStyle_Readonly" data-uid="C1.Win.Input.Styles.UnderlineStyle.Readonly">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Readonly.html#C1_Win_Input_Styles_UnderlineStyle_Readonly">Readonly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style containing display attributes that determine the general appearance of the readonly 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_UnderlineStyle_ResetDefault" data-uid="C1.Win.Input.Styles.UnderlineStyle.ResetDefault">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ResetDefault.html#C1_Win_Input_Styles_UnderlineStyle_ResetDefault">ResetDefault()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Default.html#C1_Win_Input_Styles_UnderlineStyle_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ResetDisabled" data-uid="C1.Win.Input.Styles.UnderlineStyle.ResetDisabled">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ResetDisabled.html#C1_Win_Input_Styles_UnderlineStyle_ResetDisabled">ResetDisabled()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Disabled.html#C1_Win_Input_Styles_UnderlineStyle_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ResetFocused" data-uid="C1.Win.Input.Styles.UnderlineStyle.ResetFocused">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ResetFocused.html#C1_Win_Input_Styles_UnderlineStyle_ResetFocused">ResetFocused()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Focused.html#C1_Win_Input_Styles_UnderlineStyle_Focused">Focused</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ResetHot" data-uid="C1.Win.Input.Styles.UnderlineStyle.ResetHot">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ResetHot.html#C1_Win_Input_Styles_UnderlineStyle_ResetHot">ResetHot()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Hot.html#C1_Win_Input_Styles_UnderlineStyle_Hot">Hot</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ResetReadonly" data-uid="C1.Win.Input.Styles.UnderlineStyle.ResetReadonly">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ResetReadonly.html#C1_Win_Input_Styles_UnderlineStyle_ResetReadonly">ResetReadonly()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Readonly.html#C1_Win_Input_Styles_UnderlineStyle_Readonly">Readonly</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeDefault" data-uid="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeDefault">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeDefault.html#C1_Win_Input_Styles_UnderlineStyle_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.UnderlineStyle.Default.html#C1_Win_Input_Styles_UnderlineStyle_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeDisabled" data-uid="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeDisabled">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeDisabled.html#C1_Win_Input_Styles_UnderlineStyle_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.UnderlineStyle.Disabled.html#C1_Win_Input_Styles_UnderlineStyle_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeFocused" data-uid="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeFocused">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeFocused.html#C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeFocused">ShouldSerializeFocused()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Focused.html#C1_Win_Input_Styles_UnderlineStyle_Focused">Focused</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeHot" data-uid="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeHot">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeHot.html#C1_Win_Input_Styles_UnderlineStyle_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.UnderlineStyle.Hot.html#C1_Win_Input_Styles_UnderlineStyle_Hot">Hot</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeReadonly" data-uid="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeReadonly">
          <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.ShouldSerializeReadonly.html#C1_Win_Input_Styles_UnderlineStyle_ShouldSerializeReadonly">ShouldSerializeReadonly()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.UnderlineStyle.Readonly.html#C1_Win_Input_Styles_UnderlineStyle_Readonly">Readonly</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
