# C1.Win.Editor.TextStyleEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Editor_TextStyleEventArgs" data-uid="C1.Win.Editor.TextStyleEventArgs" class="text-break">TextStyleEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>The TextStyleEventArgs class provides style information. The class object is
passed to the CurrentTextStyleChanged event and OnCurrentTextStyleChanged method.</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="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">TextStyleEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Editor.html">C1.Win.Editor</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Editor.10.dll</h6>
  <h5 id="C1_Win_Editor_TextStyleEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextStyleEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextStyleEventArgs
    Inherits EventArgs</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_Editor_TextStyleEventArgs__ctor" data-uid="C1.Win.Editor.TextStyleEventArgs.#ctor">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.-ctor.html#C1_Win_Editor_TextStyleEventArgs__ctor">TextStyleEventArgs()</a>
        </td>
        <td class="markdown level1 summary"><p>This constructor creates a default TextStyleEventArgs object.</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_Editor_TextStyleEventArgs_Alignment" data-uid="C1.Win.Editor.TextStyleEventArgs.Alignment">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.Alignment.html#C1_Win_Editor_TextStyleEventArgs_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>The Alignment property indicates the HorizontalAlignment of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_BackgroundColor" data-uid="C1.Win.Editor.TextStyleEventArgs.BackgroundColor">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.BackgroundColor.html#C1_Win_Editor_TextStyleEventArgs_BackgroundColor">BackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>The BackgroundColor property indicates the background or highlight color of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_Bold" data-uid="C1.Win.Editor.TextStyleEventArgs.Bold">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.Bold.html#C1_Win_Editor_TextStyleEventArgs_Bold">Bold</a>
        </td>
        <td class="markdown level1 summary"><p>The Bold property indicates whether text is bold.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_FontFamilyName" data-uid="C1.Win.Editor.TextStyleEventArgs.FontFamilyName">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.FontFamilyName.html#C1_Win_Editor_TextStyleEventArgs_FontFamilyName">FontFamilyName</a>
        </td>
        <td class="markdown level1 summary"><p>The FontFamilyName property indicates the font family name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_FontSize" data-uid="C1.Win.Editor.TextStyleEventArgs.FontSize">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.FontSize.html#C1_Win_Editor_TextStyleEventArgs_FontSize">FontSize</a>
        </td>
        <td class="markdown level1 summary"><p>The FontSize property indicates the font size in points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_FontStyle" data-uid="C1.Win.Editor.TextStyleEventArgs.FontStyle">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.FontStyle.html#C1_Win_Editor_TextStyleEventArgs_FontStyle">FontStyle</a>
        </td>
        <td class="markdown level1 summary"><p>The FontTyle property indicates the font style attributes (e.g.: bold, italics, underline, etc.).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_FontWeight" data-uid="C1.Win.Editor.TextStyleEventArgs.FontWeight">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.FontWeight.html#C1_Win_Editor_TextStyleEventArgs_FontWeight">FontWeight</a>
        </td>
        <td class="markdown level1 summary"><p>The FontWeight property indicates the font weight (default normal = 400).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_ForeColor" data-uid="C1.Win.Editor.TextStyleEventArgs.ForeColor">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.ForeColor.html#C1_Win_Editor_TextStyleEventArgs_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>The ForeColor property indicates the foreground color of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_Italic" data-uid="C1.Win.Editor.TextStyleEventArgs.Italic">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.Italic.html#C1_Win_Editor_TextStyleEventArgs_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>The Italic property indicates whether text is displayed with italics.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_StrikeThrough" data-uid="C1.Win.Editor.TextStyleEventArgs.StrikeThrough">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.StrikeThrough.html#C1_Win_Editor_TextStyleEventArgs_StrikeThrough">StrikeThrough</a>
        </td>
        <td class="markdown level1 summary"><p>The StrikeThrough property indicates whether text is displayed with strike through.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_SubScript" data-uid="C1.Win.Editor.TextStyleEventArgs.SubScript">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.SubScript.html#C1_Win_Editor_TextStyleEventArgs_SubScript">SubScript</a>
        </td>
        <td class="markdown level1 summary"><p>The SubScript property indicates whether the text is displayed as subscript.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_SuperScript" data-uid="C1.Win.Editor.TextStyleEventArgs.SuperScript">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.SuperScript.html#C1_Win_Editor_TextStyleEventArgs_SuperScript">SuperScript</a>
        </td>
        <td class="markdown level1 summary"><p>The SuperScript property indicates whether the text is displayed as superscript.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Editor_TextStyleEventArgs_Underline" data-uid="C1.Win.Editor.TextStyleEventArgs.Underline">
          <a class="xref" href="C1.Win.Editor.TextStyleEventArgs.Underline.html#C1_Win_Editor_TextStyleEventArgs_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>The Underline property indicates whether the text is displayed as underlined.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
