# C1.Win.RulesManager.ItemStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_ItemStyle" data-uid="C1.Win.RulesManager.ItemStyle" class="text-break">ItemStyle Class
</h1>
  <div class="markdown level0 summary"><p>Represents item conditional formatting 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.RulesManager.Model.BaseNotifyPropertyChanged.html">BaseNotifyPropertyChanged</a></div>
    <div class="level2"><span class="xref">ItemStyle</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.RulesManager.IItemStyleEx.html">IItemStyleEx</a></div>
    <div><span class="xref">IItemStyle</span></div>
    <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.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.serialization.ixmlserializable">IXmlSerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.RulesManager.html">C1.Win.RulesManager</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.RulesManager.4.8.dll</h6>
  <h5 id="C1_Win_RulesManager_ItemStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ItemStyle : BaseNotifyPropertyChanged, IItemStyleEx, IItemStyle, INotifyPropertyChanged, ICloneable, IXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ItemStyle
    Inherits BaseNotifyPropertyChanged
    Implements IItemStyleEx, IItemStyle, INotifyPropertyChanged, ICloneable, IXmlSerializable</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_RulesManager_ItemStyle__ctor" data-uid="C1.Win.RulesManager.ItemStyle.#ctor">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.-ctor.html#C1_Win_RulesManager_ItemStyle__ctor">ItemStyle()</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_RulesManager_ItemStyle_BackColor" data-uid="C1.Win.RulesManager.ItemStyle.BackColor">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.BackColor.html#C1_Win_RulesManager_ItemStyle_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Item background color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_BorderColor" data-uid="C1.Win.RulesManager.ItemStyle.BorderColor">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.BorderColor.html#C1_Win_RulesManager_ItemStyle_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Icon border color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_FontStyle" data-uid="C1.Win.RulesManager.ItemStyle.FontStyle">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.FontStyle.html#C1_Win_RulesManager_ItemStyle_FontStyle">FontStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Text font style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_ForeColor" data-uid="C1.Win.RulesManager.ItemStyle.ForeColor">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.ForeColor.html#C1_Win_RulesManager_ItemStyle_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Text color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_Gradient" data-uid="C1.Win.RulesManager.ItemStyle.Gradient">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.Gradient.html#C1_Win_RulesManager_ItemStyle_Gradient">Gradient</a>
        </td>
        <td class="markdown level1 summary"><p>Settings for the gradient type rule.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_Icon" data-uid="C1.Win.RulesManager.ItemStyle.Icon">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.Icon.html#C1_Win_RulesManager_ItemStyle_Icon">Icon</a>
        </td>
        <td class="markdown level1 summary"><p>Cell icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_TextAlignment" data-uid="C1.Win.RulesManager.ItemStyle.TextAlignment">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.TextAlignment.html#C1_Win_RulesManager_ItemStyle_TextAlignment">TextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Alignment of the text.</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_RulesManager_ItemStyle_Clone" data-uid="C1.Win.RulesManager.ItemStyle.Clone">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.Clone.html#C1_Win_RulesManager_ItemStyle_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_GetHistogramImage_System_Drawing_Rectangle_" data-uid="C1.Win.RulesManager.ItemStyle.GetHistogramImage(System.Drawing.Rectangle)">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.GetHistogramImage.html#C1_Win_RulesManager_ItemStyle_GetHistogramImage_System_Drawing_Rectangle_">GetHistogramImage(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the histogram image with the specified size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_ReadXml_System_Xml_XmlReader_" data-uid="C1.Win.RulesManager.ItemStyle.ReadXml(System.Xml.XmlReader)">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.ReadXml.html#C1_Win_RulesManager_ItemStyle_ReadXml_System_Xml_XmlReader_">ReadXml(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates an <a class="xref" href="C1.Win.RulesManager.ItemStyle.html">ItemStyle</a> from its XML representation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_ItemStyle_WriteXml_System_Xml_XmlWriter_" data-uid="C1.Win.RulesManager.ItemStyle.WriteXml(System.Xml.XmlWriter)">
          <a class="xref" href="C1.Win.RulesManager.ItemStyle.WriteXml.html#C1_Win_RulesManager_ItemStyle_WriteXml_System_Xml_XmlWriter_">WriteXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an <a class="xref" href="C1.Win.RulesManager.ItemStyle.html">ItemStyle</a> into its XML representation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
