# FarPoint.Web.Spread.Appearance

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Appearance" data-uid="FarPoint.Web.Spread.Appearance" class="text-break">Appearance Class
</h1>
  <div class="markdown level0 summary"><p>Represents the Appearance of an object.</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">Appearance</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Appearance_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class Appearance : ICloneable, ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class Appearance
    Implements ICloneable, ISerializable, ISerializeSupport</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="FarPoint_Web_Spread_Appearance__ctor" data-uid="FarPoint.Web.Spread.Appearance.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.-ctor.html#FarPoint_Web_Spread_Appearance__ctor">Appearance()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new Appearance object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance__ctor_FarPoint_Web_Spread_Appearance_" data-uid="FarPoint.Web.Spread.Appearance.#ctor(FarPoint.Web.Spread.Appearance)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.-ctor.html#FarPoint_Web_Spread_Appearance__ctor_FarPoint_Web_Spread_Appearance_">Appearance(Appearance)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an Appearance object based on the specified Appearance object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.Appearance.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.-ctor.html#FarPoint_Web_Spread_Appearance__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">Appearance(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new Appearance object from serialization.</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_Web_Spread_Appearance_BackColor" data-uid="FarPoint.Web.Spread.Appearance.BackColor">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.BackColor.html#FarPoint_Web_Spread_Appearance_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of an object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_EncodeValue" data-uid="FarPoint.Web.Spread.Appearance.EncodeValue">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.EncodeValue.html#FarPoint_Web_Spread_Appearance_EncodeValue">EncodeValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the renderer encodes the values from the data model and the user's input using the HtmlEncode method.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Font" data-uid="FarPoint.Web.Spread.Appearance.Font">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Font.html#FarPoint_Web_Spread_Appearance_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets font information for an object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_ForeColor" data-uid="FarPoint.Web.Spread.Appearance.ForeColor">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.ForeColor.html#FarPoint_Web_Spread_Appearance_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text color of an object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_HorizontalAlign" data-uid="FarPoint.Web.Spread.Appearance.HorizontalAlign">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.HorizontalAlign.html#FarPoint_Web_Spread_Appearance_HorizontalAlign">HorizontalAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of an object or text.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_ImeMode" data-uid="FarPoint.Web.Spread.Appearance.ImeMode">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.ImeMode.html#FarPoint_Web_Spread_Appearance_ImeMode">ImeMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the state of an Input Method Editor (IME) of the cell for the style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_IsEmpty" data-uid="FarPoint.Web.Spread.Appearance.IsEmpty">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.IsEmpty.html#FarPoint_Web_Spread_Appearance_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether none of the properties of the Appearance object is set.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_VerticalAlign" data-uid="FarPoint.Web.Spread.Appearance.VerticalAlign">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.VerticalAlign.html#FarPoint_Web_Spread_Appearance_VerticalAlign">VerticalAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of an object or 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="FarPoint_Web_Spread_Appearance_Clone" data-uid="FarPoint.Web.Spread.Appearance.Clone">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Clone.html#FarPoint_Web_Spread_Appearance_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new Appearance object that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Copy_System_Object_" data-uid="FarPoint.Web.Spread.Appearance.Copy(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Copy.html#FarPoint_Web_Spread_Appearance_Copy_System_Object_">Copy(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the properties of the specified Appearance object to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.Appearance.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Deserialize.html#FarPoint_Web_Spread_Appearance_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_Web_Spread_Appearance_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.Appearance.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.GetObjectData.html#FarPoint_Web_Spread_Appearance_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates the SerializationInfo class with information about
the appearance settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_IsDefined_FarPoint_Web_Spread_AppearanceProperty_" data-uid="FarPoint.Web.Spread.Appearance.IsDefined(FarPoint.Web.Spread.AppearanceProperty)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.IsDefined.html#FarPoint_Web_Spread_Appearance_IsDefined_FarPoint_Web_Spread_AppearanceProperty_">IsDefined(AppearanceProperty)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns whether an appearance property has been set.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Merge_System_Object_" data-uid="FarPoint.Web.Spread.Appearance.Merge(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Merge.html#FarPoint_Web_Spread_Appearance_Merge_System_Object_">Merge(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Merges appearance settings of the specified object with the current object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Merge_System_Object_System_Boolean_" data-uid="FarPoint.Web.Spread.Appearance.Merge(System.Object,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Merge.html#FarPoint_Web_Spread_Appearance_Merge_System_Object_System_Boolean_">Merge(object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Merges appearance settings of the specified object with the current
object with the option to force a merge if the settings are defined
in the current object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Reset_FarPoint_Web_Spread_AppearanceProperty_" data-uid="FarPoint.Web.Spread.Appearance.Reset(FarPoint.Web.Spread.AppearanceProperty)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Reset.html#FarPoint_Web_Spread_Appearance_Reset_FarPoint_Web_Spread_AppearanceProperty_">Reset(AppearanceProperty)</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the setting of the specified appearance property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_ResetAll" data-uid="FarPoint.Web.Spread.Appearance.ResetAll">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.ResetAll.html#FarPoint_Web_Spread_Appearance_ResetAll">ResetAll()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets all the property settings of the Appearance class to their default values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Appearance_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.Appearance.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.Serialize.html#FarPoint_Web_Spread_Appearance_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_Web_Spread_Appearance_SetFlag_FarPoint_Web_Spread_AppearanceProperty_System_Boolean_" data-uid="FarPoint.Web.Spread.Appearance.SetFlag(FarPoint.Web.Spread.AppearanceProperty,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.Appearance.SetFlag.html#FarPoint_Web_Spread_Appearance_SetFlag_FarPoint_Web_Spread_AppearanceProperty_System_Boolean_">SetFlag(AppearanceProperty, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a flag to indicate whether a property has been set.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
