# C1.Win.Input.Styles.TextBoxStyles

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Styles_TextBoxStyles" data-uid="C1.Win.Input.Styles.TextBoxStyles" class="text-break">TextBoxStyles Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.html">TextBoxStyles</a> class represents the styles for the <a class="xref" href="C1.Win.Input.C1TextBox.html">C1TextBox</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.Input.Styles.InputStyles.html">InputStyles</a></div>
    <div class="level2"><a class="xref" href="C1.Win.Input.Styles.InputEditorStyles.html">InputEditorStyles</a></div>
    <div class="level3"><span class="xref">TextBoxStyles</span></div>
      <div class="level4"><a class="xref" href="C1.Win.Input.Styles.DropDownControlStyles-1.html">DropDownControlStyles&lt;T&gt;</a></div>
      <div class="level4"><a class="xref" href="C1.Win.Input.Styles.NumericEditStyles.html">NumericEditStyles</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Input.Styles.Primitives.IButtonStyleSupport.html">IButtonStyleSupport</a></div>
    <div><a class="xref" href="C1.Win.Input.Styles.Primitives.IUnderlineStyleSupport.html">IUnderlineStyleSupport</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_TextBoxStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextBoxStyles : InputEditorStyles, IButtonStyleSupport, IUnderlineStyleSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextBoxStyles
    Inherits InputEditorStyles
    Implements IButtonStyleSupport, IUnderlineStyleSupport</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_TextBoxStyles__ctor" data-uid="C1.Win.Input.Styles.TextBoxStyles.#ctor">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.-ctor.html#C1_Win_Input_Styles_TextBoxStyles__ctor">TextBoxStyles()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.html">TextBoxStyles</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles__ctor_C1_Win_Themes_BaseThemeProvider_" data-uid="C1.Win.Input.Styles.TextBoxStyles.#ctor(C1.Win.Themes.BaseThemeProvider)">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.-ctor.html#C1_Win_Input_Styles_TextBoxStyles__ctor_C1_Win_Themes_BaseThemeProvider_">TextBoxStyles(BaseThemeProvider)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.html">TextBoxStyles</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_TextBoxStyles_Default" data-uid="C1.Win.Input.Styles.TextBoxStyles.Default">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Default.html#C1_Win_Input_Styles_TextBoxStyles_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_TextBoxStyles_Disabled" data-uid="C1.Win.Input.Styles.TextBoxStyles.Disabled">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Disabled.html#C1_Win_Input_Styles_TextBoxStyles_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_TextBoxStyles_Focused" data-uid="C1.Win.Input.Styles.TextBoxStyles.Focused">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Focused.html#C1_Win_Input_Styles_TextBoxStyles_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_TextBoxStyles_Hot" data-uid="C1.Win.Input.Styles.TextBoxStyles.Hot">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Hot.html#C1_Win_Input_Styles_TextBoxStyles_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_TextBoxStyles_MarkEmptyColor" data-uid="C1.Win.Input.Styles.TextBoxStyles.MarkEmptyColor">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.MarkEmptyColor.html#C1_Win_Input_Styles_TextBoxStyles_MarkEmptyColor">MarkEmptyColor</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 empty mark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_Readonly" data-uid="C1.Win.Input.Styles.TextBoxStyles.Readonly">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Readonly.html#C1_Win_Input_Styles_TextBoxStyles_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_TextBoxStyles_ResetDefault" data-uid="C1.Win.Input.Styles.TextBoxStyles.ResetDefault">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ResetDefault.html#C1_Win_Input_Styles_TextBoxStyles_ResetDefault">ResetDefault()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Default.html#C1_Win_Input_Styles_TextBoxStyles_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ResetDisabled" data-uid="C1.Win.Input.Styles.TextBoxStyles.ResetDisabled">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ResetDisabled.html#C1_Win_Input_Styles_TextBoxStyles_ResetDisabled">ResetDisabled()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Disabled.html#C1_Win_Input_Styles_TextBoxStyles_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ResetFocused" data-uid="C1.Win.Input.Styles.TextBoxStyles.ResetFocused">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ResetFocused.html#C1_Win_Input_Styles_TextBoxStyles_ResetFocused">ResetFocused()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Focused.html#C1_Win_Input_Styles_TextBoxStyles_Focused">Focused</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ResetHot" data-uid="C1.Win.Input.Styles.TextBoxStyles.ResetHot">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ResetHot.html#C1_Win_Input_Styles_TextBoxStyles_ResetHot">ResetHot()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Hot.html#C1_Win_Input_Styles_TextBoxStyles_Hot">Hot</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ResetMarkEmptyColor" data-uid="C1.Win.Input.Styles.TextBoxStyles.ResetMarkEmptyColor">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ResetMarkEmptyColor.html#C1_Win_Input_Styles_TextBoxStyles_ResetMarkEmptyColor">ResetMarkEmptyColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.MarkEmptyColor.html#C1_Win_Input_Styles_TextBoxStyles_MarkEmptyColor">MarkEmptyColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ResetReadonly" data-uid="C1.Win.Input.Styles.TextBoxStyles.ResetReadonly">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ResetReadonly.html#C1_Win_Input_Styles_TextBoxStyles_ResetReadonly">ResetReadonly()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.Readonly.html#C1_Win_Input_Styles_TextBoxStyles_Readonly">Readonly</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeDefault" data-uid="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeDefault">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeDefault.html#C1_Win_Input_Styles_TextBoxStyles_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.TextBoxStyles.Default.html#C1_Win_Input_Styles_TextBoxStyles_Default">Default</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeDisabled" data-uid="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeDisabled">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeDisabled.html#C1_Win_Input_Styles_TextBoxStyles_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.TextBoxStyles.Disabled.html#C1_Win_Input_Styles_TextBoxStyles_Disabled">Disabled</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeFocused" data-uid="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeFocused">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeFocused.html#C1_Win_Input_Styles_TextBoxStyles_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.TextBoxStyles.Focused.html#C1_Win_Input_Styles_TextBoxStyles_Focused">Focused</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeHot" data-uid="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeHot">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeHot.html#C1_Win_Input_Styles_TextBoxStyles_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.TextBoxStyles.Hot.html#C1_Win_Input_Styles_TextBoxStyles_Hot">Hot</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeMarkEmptyColor" data-uid="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeMarkEmptyColor">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeMarkEmptyColor.html#C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeMarkEmptyColor">ShouldSerializeMarkEmptyColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.MarkEmptyColor.html#C1_Win_Input_Styles_TextBoxStyles_MarkEmptyColor">MarkEmptyColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Styles_TextBoxStyles_ShouldSerializeReadonly" data-uid="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeReadonly">
          <a class="xref" href="C1.Win.Input.Styles.TextBoxStyles.ShouldSerializeReadonly.html#C1_Win_Input_Styles_TextBoxStyles_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.TextBoxStyles.Readonly.html#C1_Win_Input_Styles_TextBoxStyles_Readonly">Readonly</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
