# FarPoint.Win.Spread.DynamicStyleInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_DynamicStyleInfo" data-uid="FarPoint.Win.Spread.DynamicStyleInfo" class="text-break">DynamicStyleInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents a special <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> that is used to customize a <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> under the <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a> class.</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="FarPoint.Win.Spread.StyleInfo.html">StyleInfo</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></div>
    <div class="level3"><span class="xref">DynamicStyleInfo</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ICanSerializeXml.html">ICanSerializeXml</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable">IComparable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<a class="xref" href="FarPoint.Win.Spread.StyleInfo.html">StyleInfo</a>&gt;</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.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_DynamicStyleInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DynamicStyleInfo : AppearanceStyleInfo, ICanSerializeXml, IComparable, IComparable&lt;StyleInfo&gt;, ICloneable, ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DynamicStyleInfo
    Inherits AppearanceStyleInfo
    Implements ICanSerializeXml, IComparable, IComparable(Of StyleInfo), ICloneable, ISerializable, ISerializeSupport</code></pre>
  </div>
  <h5 id="FarPoint_Win_Spread_DynamicStyleInfo_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a> allows you to customize a <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> dynamically.
You can attach a <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler.html#FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler">ConditionHandler</a> event handling method, and return a <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> with the given <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a>.</p>
</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="FarPoint_Win_Spread_DynamicStyleInfo__ctor" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.-ctor.html#FarPoint_Win_Spread_DynamicStyleInfo__ctor">DynamicStyleInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicStyleInfo__ctor_FarPoint_Win_Spread_DynamicCellStyleConditionHandler_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.#ctor(FarPoint.Win.Spread.DynamicCellStyleConditionHandler)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.-ctor.html#FarPoint_Win_Spread_DynamicStyleInfo__ctor_FarPoint_Win_Spread_DynamicCellStyleConditionHandler_">DynamicStyleInfo(DynamicCellStyleConditionHandler)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicStyleInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.-ctor.html#FarPoint_Win_Spread_DynamicStyleInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">DynamicStyleInfo(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of this class.</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="FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler.html#FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler">ConditionHandler</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a condition handler that generates an actual <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> object.</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="FarPoint_Win_Spread_DynamicStyleInfo_Clone" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.Clone">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.Clone.html#FarPoint_Win_Spread_DynamicStyleInfo_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a> that is a copy of the current <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a>.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicStyleInfo_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.Deserialize.html#FarPoint_Win_Spread_DynamicStyleInfo_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicStyleInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.GetObjectData.html#FarPoint_Win_Spread_DynamicStyleInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the object data.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicStyleInfo_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.Serialize.html#FarPoint_Win_Spread_DynamicStyleInfo_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicStyleInfo_ToString" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.ToString">
          <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.ToString.html#FarPoint_Win_Spread_DynamicStyleInfo_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> that represents the <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></div>
      <div><a class="xref" href="FarPoint.Win.Spread.DynamicCellStyleConditionHandler.html">DynamicCellStyleConditionHandler</a></div>
      <div><a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a></div>
      <div><a class="xref" href="FarPoint.Win.Spread.NamedAppearanceStyleInfo.html">NamedAppearanceStyleInfo</a></div>
      <div><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleInfo.html">ConditionalStyleInfo</a></div>
      <div><a class="xref" href="FarPoint.Win.Spread.CombinedStyleInfo.html">CombinedStyleInfo</a></div>
  </div>

</div>
