# FarPoint.Win.Spread.CellPadding

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellPadding" data-uid="FarPoint.Win.Spread.CellPadding" class="text-break">CellPadding Class
</h1>
  <div class="markdown level0 summary"><p>Represents padding information associated with a cell.</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">CellPadding</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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="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.iequatable-1">IEquatable</a>&lt;<a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a>&gt;</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.CellPadding.html">CellPadding</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable">IComparable</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_CellPadding_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CellPadding : ISerializeSupport, ISerializable, INotifyPropertyChanged, ICloneable, IEquatable&lt;CellPadding&gt;, IComparable&lt;CellPadding&gt;, IComparable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CellPadding
    Implements ISerializeSupport, ISerializable, INotifyPropertyChanged, ICloneable, IEquatable(Of CellPadding), IComparable(Of CellPadding), IComparable</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_Win_Spread_CellPadding__ctor" data-uid="FarPoint.Win.Spread.CellPadding.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.-ctor.html#FarPoint_Win_Spread_CellPadding__ctor">CellPadding()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding__ctor_FarPoint_Win_Spread_CellPadding_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(FarPoint.Win.Spread.CellPadding)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.-ctor.html#FarPoint_Win_Spread_CellPadding__ctor_FarPoint_Win_Spread_CellPadding_">CellPadding(CellPadding)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding__ctor_System_Int32_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.-ctor.html#FarPoint_Win_Spread_CellPadding__ctor_System_Int32_">CellPadding(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.-ctor.html#FarPoint_Win_Spread_CellPadding__ctor_System_Int32_System_Int32_System_Int32_System_Int32_">CellPadding(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.-ctor.html#FarPoint_Win_Spread_CellPadding__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">CellPadding(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the CellPadding class 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_Win_Spread_CellPadding_All" data-uid="FarPoint.Win.Spread.CellPadding.All">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.All.html#FarPoint_Win_Spread_CellPadding_All">All</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding, in pixels, for the all edges.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Bottom" data-uid="FarPoint.Win.Spread.CellPadding.Bottom">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Bottom.html#FarPoint_Win_Spread_CellPadding_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding, in pixels, for the bottom edge.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Horizontal" data-uid="FarPoint.Win.Spread.CellPadding.Horizontal">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Horizontal.html#FarPoint_Win_Spread_CellPadding_Horizontal">Horizontal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sum, in pixels, for the right and left edges.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_IsEmpty" data-uid="FarPoint.Win.Spread.CellPadding.IsEmpty">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.IsEmpty.html#FarPoint_Win_Spread_CellPadding_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this instance is empty.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Left" data-uid="FarPoint.Win.Spread.CellPadding.Left">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Left.html#FarPoint_Win_Spread_CellPadding_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding, in pixels, for the left edge.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Right" data-uid="FarPoint.Win.Spread.CellPadding.Right">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Right.html#FarPoint_Win_Spread_CellPadding_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding, in pixels, for the right edge.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Top" data-uid="FarPoint.Win.Spread.CellPadding.Top">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Top.html#FarPoint_Win_Spread_CellPadding_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding, in pixels, for the top edge.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Vertical" data-uid="FarPoint.Win.Spread.CellPadding.Vertical">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Vertical.html#FarPoint_Win_Spread_CellPadding_Vertical">Vertical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sum, in pixels, for the top and bottom edges.</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_CellPadding_Clone" data-uid="FarPoint.Win.Spread.CellPadding.Clone">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Clone.html#FarPoint_Win_Spread_CellPadding_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="FarPoint_Win_Spread_CellPadding_CompareTo_FarPoint_Win_Spread_CellPadding_" data-uid="FarPoint.Win.Spread.CellPadding.CompareTo(FarPoint.Win.Spread.CellPadding)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.CompareTo.html#FarPoint_Win_Spread_CellPadding_CompareTo_FarPoint_Win_Spread_CellPadding_">CompareTo(CellPadding)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares the current CellPadding object with another CellPadding object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_CompareTo_System_Object_" data-uid="FarPoint.Win.Spread.CellPadding.CompareTo(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.CompareTo.html#FarPoint_Win_Spread_CellPadding_CompareTo_System_Object_">CompareTo(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares the current CellPadding object with another object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.CellPadding.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Deserialize.html#FarPoint_Win_Spread_CellPadding_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_CellPadding_Equals_FarPoint_Win_Spread_CellPadding_" data-uid="FarPoint.Win.Spread.CellPadding.Equals(FarPoint.Win.Spread.CellPadding)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Equals.html#FarPoint_Win_Spread_CellPadding_Equals_FarPoint_Win_Spread_CellPadding_">Equals(CellPadding)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the value of the specified object is equivalent to the current CellPadding object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Equals_System_Object_" data-uid="FarPoint.Win.Spread.CellPadding.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Equals.html#FarPoint_Win_Spread_CellPadding_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the value of the specified object is equivalent to the current CellPadding object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_GetHashCode" data-uid="FarPoint.Win.Spread.CellPadding.GetHashCode">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.GetHashCode.html#FarPoint_Win_Spread_CellPadding_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for a particular type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellPadding.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.GetObjectData.html#FarPoint_Win_Spread_CellPadding_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a> with the data needed to serialize the target object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_" data-uid="FarPoint.Win.Spread.CellPadding.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.OnPropertyChanged.html#FarPoint_Win_Spread_CellPadding_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_">OnPropertyChanged(PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the PropertyChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Reset" data-uid="FarPoint.Win.Spread.CellPadding.Reset">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Reset.html#FarPoint_Win_Spread_CellPadding_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets this instance to default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.CellPadding.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.Serialize.html#FarPoint_Win_Spread_CellPadding_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_CellPadding_PropertyChanged" data-uid="FarPoint.Win.Spread.CellPadding.PropertyChanged">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value of the CellPadding changes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</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_CellPadding_op_Equality_FarPoint_Win_Spread_CellPadding_FarPoint_Win_Spread_CellPadding_" data-uid="FarPoint.Win.Spread.CellPadding.op_Equality(FarPoint.Win.Spread.CellPadding,FarPoint.Win.Spread.CellPadding)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.op_Equality.html#FarPoint_Win_Spread_CellPadding_op_Equality_FarPoint_Win_Spread_CellPadding_FarPoint_Win_Spread_CellPadding_">operator ==(CellPadding, CellPadding)</a>
        </td>
        <td class="markdown level1 summary"><p>Implements the operator ==.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellPadding_op_Inequality_FarPoint_Win_Spread_CellPadding_FarPoint_Win_Spread_CellPadding_" data-uid="FarPoint.Win.Spread.CellPadding.op_Inequality(FarPoint.Win.Spread.CellPadding,FarPoint.Win.Spread.CellPadding)">
          <a class="xref" href="FarPoint.Win.Spread.CellPadding.op_Inequality.html#FarPoint_Win_Spread_CellPadding_op_Inequality_FarPoint_Win_Spread_CellPadding_FarPoint_Win_Spread_CellPadding_">operator !=(CellPadding, CellPadding)</a>
        </td>
        <td class="markdown level1 summary"><p>Implements the operator !=.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
