# C1.Win.List.Style

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_List_Style" data-uid="C1.Win.List.Style" class="text-break">Style Class
</h1>
  <div class="markdown level0 summary"><p>Represents an object used to render grid elements.</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"><span class="xref">Style</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.List.html">C1.Win.List</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.List.4.8.dll</h6>
  <h5 id="C1_Win_List_Style_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(GenericTypeConverter))]
public class Style : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(GenericTypeConverter))&gt;
Public Class Style
    Implements 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_List_Style__ctor" data-uid="C1.Win.List.Style.#ctor">
          <a class="xref" href="C1.Win.List.Style.-ctor.html#C1_Win_List_Style__ctor">Style()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of this 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_List_Style_Alpha" data-uid="C1.Win.List.Style.Alpha">
          <a class="xref" href="C1.Win.List.Style.Alpha.html#C1_Win_List_Style_Alpha">Alpha</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alpha component when the style is rendered.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_BackColor" data-uid="C1.Win.List.Style.BackColor">
          <a class="xref" href="C1.Win.List.Style.BackColor.html#C1_Win_List_Style_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color associated with a Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_BackColor2" data-uid="C1.Win.List.Style.BackColor2">
          <a class="xref" href="C1.Win.List.Style.BackColor2.html#C1_Win_List_Style_BackColor2">BackColor2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color associated with a Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_BackgroundImage" data-uid="C1.Win.List.Style.BackgroundImage">
          <a class="xref" href="C1.Win.List.Style.BackgroundImage.html#C1_Win_List_Style_BackgroundImage">BackgroundImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background image associated with a Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_BackgroundPictureDrawMode" data-uid="C1.Win.List.Style.BackgroundPictureDrawMode">
          <a class="xref" href="C1.Win.List.Style.BackgroundPictureDrawMode.html#C1_Win_List_Style_BackgroundPictureDrawMode">BackgroundPictureDrawMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rendering method for a <a class="xref" href="C1.Win.List.Style.BackgroundImage.html#C1_Win_List_Style_BackgroundImage">BackgroundImage</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Borders" data-uid="C1.Win.List.Style.Borders">
          <a class="xref" href="C1.Win.List.Style.Borders.html#C1_Win_List_Style_Borders">Borders</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.List.CellBorders.html">CellBorders</a> associated with this Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Font" data-uid="C1.Win.List.Style.Font">
          <a class="xref" href="C1.Win.List.Style.Font.html#C1_Win_List_Style_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Font associated with a Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ForeColor" data-uid="C1.Win.List.Style.ForeColor">
          <a class="xref" href="C1.Win.List.Style.ForeColor.html#C1_Win_List_Style_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color associated with a Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ForeGroundPicturePosition" data-uid="C1.Win.List.Style.ForeGroundPicturePosition">
          <a class="xref" href="C1.Win.List.Style.ForeGroundPicturePosition.html#C1_Win_List_Style_ForeGroundPicturePosition">ForeGroundPicturePosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position that the ForGroupImage is rendered.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ForegroundImage" data-uid="C1.Win.List.Style.ForegroundImage">
          <a class="xref" href="C1.Win.List.Style.ForegroundImage.html#C1_Win_List_Style_ForegroundImage">ForegroundImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground image associated with a style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_GammaCorrection" data-uid="C1.Win.List.Style.GammaCorrection">
          <a class="xref" href="C1.Win.List.Style.GammaCorrection.html#C1_Win_List_Style_GammaCorrection">GammaCorrection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether gamma correction is enabled when a linear gradient style is rendered.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_GradientMode" data-uid="C1.Win.List.Style.GradientMode">
          <a class="xref" href="C1.Win.List.Style.GradientMode.html#C1_Win_List_Style_GradientMode">GradientMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of a linear gradient.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_HorizontalAlignment" data-uid="C1.Win.List.Style.HorizontalAlignment">
          <a class="xref" href="C1.Win.List.Style.HorizontalAlignment.html#C1_Win_List_Style_HorizontalAlignment">HorizontalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal text alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Name" data-uid="C1.Win.List.Style.Name">
          <a class="xref" href="C1.Win.List.Style.Name.html#C1_Win_List_Style_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the Style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Padding" data-uid="C1.Win.List.Style.Padding">
          <a class="xref" href="C1.Win.List.Style.Padding.html#C1_Win_List_Style_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spacing between cell content and its edges.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Trimming" data-uid="C1.Win.List.Style.Trimming">
          <a class="xref" href="C1.Win.List.Style.Trimming.html#C1_Win_List_Style_Trimming">Trimming</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the trim characters for a string that does not completely fit into a layout shape.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_VerticalAlignment" data-uid="C1.Win.List.Style.VerticalAlignment">
          <a class="xref" href="C1.Win.List.Style.VerticalAlignment.html#C1_Win_List_Style_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical text alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_WrapText" data-uid="C1.Win.List.Style.WrapText">
          <a class="xref" href="C1.Win.List.Style.WrapText.html#C1_Win_List_Style_WrapText">WrapText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether text is word-wrapped when it does not fit into a layout shape.</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_List_Style_Dispose" data-uid="C1.Win.List.Style.Dispose">
          <a class="xref" href="C1.Win.List.Style.Dispose.html#C1_Win_List_Style_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the class is being disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Dispose_System_Boolean_" data-uid="C1.Win.List.Style.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.List.Style.Dispose.html#C1_Win_List_Style_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the class is being disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_Reset" data-uid="C1.Win.List.Style.Reset">
          <a class="xref" href="C1.Win.List.Style.Reset.html#C1_Win_List_Style_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets all specialized attributes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetBackColor" data-uid="C1.Win.List.Style.ResetBackColor">
          <a class="xref" href="C1.Win.List.Style.ResetBackColor.html#C1_Win_List_Style_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Reset BackColor to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetBackgroundImage" data-uid="C1.Win.List.Style.ResetBackgroundImage">
          <a class="xref" href="C1.Win.List.Style.ResetBackgroundImage.html#C1_Win_List_Style_ResetBackgroundImage">ResetBackgroundImage()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the BackgroundImage to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetBackgroundPictureDrawMode" data-uid="C1.Win.List.Style.ResetBackgroundPictureDrawMode">
          <a class="xref" href="C1.Win.List.Style.ResetBackgroundPictureDrawMode.html#C1_Win_List_Style_ResetBackgroundPictureDrawMode">ResetBackgroundPictureDrawMode()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets BackgroundPictureDrawMode to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetFont" data-uid="C1.Win.List.Style.ResetFont">
          <a class="xref" href="C1.Win.List.Style.ResetFont.html#C1_Win_List_Style_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets Font to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetForeColor" data-uid="C1.Win.List.Style.ResetForeColor">
          <a class="xref" href="C1.Win.List.Style.ResetForeColor.html#C1_Win_List_Style_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets ForeColor to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetForeGroundPicturePosition" data-uid="C1.Win.List.Style.ResetForeGroundPicturePosition">
          <a class="xref" href="C1.Win.List.Style.ResetForeGroundPicturePosition.html#C1_Win_List_Style_ResetForeGroundPicturePosition">ResetForeGroundPicturePosition()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets ForGroundImagePosition to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetForegroundImage" data-uid="C1.Win.List.Style.ResetForegroundImage">
          <a class="xref" href="C1.Win.List.Style.ResetForegroundImage.html#C1_Win_List_Style_ResetForegroundImage">ResetForegroundImage()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets ForegroundImage to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetHorizontalAlignment" data-uid="C1.Win.List.Style.ResetHorizontalAlignment">
          <a class="xref" href="C1.Win.List.Style.ResetHorizontalAlignment.html#C1_Win_List_Style_ResetHorizontalAlignment">ResetHorizontalAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets HorizontalAlignment to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetLocked" data-uid="C1.Win.List.Style.ResetLocked">
          <a class="xref" href="C1.Win.List.Style.ResetLocked.html#C1_Win_List_Style_ResetLocked">ResetLocked()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets Locked to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetTrimming" data-uid="C1.Win.List.Style.ResetTrimming">
          <a class="xref" href="C1.Win.List.Style.ResetTrimming.html#C1_Win_List_Style_ResetTrimming">ResetTrimming()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets Trimming to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetVerticalAlignment" data-uid="C1.Win.List.Style.ResetVerticalAlignment">
          <a class="xref" href="C1.Win.List.Style.ResetVerticalAlignment.html#C1_Win_List_Style_ResetVerticalAlignment">ResetVerticalAlignment()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets VerticalAlignment to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ResetWrapText" data-uid="C1.Win.List.Style.ResetWrapText">
          <a class="xref" href="C1.Win.List.Style.ResetWrapText.html#C1_Win_List_Style_ResetWrapText">ResetWrapText()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets WrapText to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_Style_ToString" data-uid="C1.Win.List.Style.ToString">
          <a class="xref" href="C1.Win.List.Style.ToString.html#C1_Win_List_Style_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
