[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellPadding

CellPadding Class

Represents padding information associated with a cell.

Inheritance
CellPadding
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class CellPadding : ISerializeSupport, ISerializable, INotifyPropertyChanged, ICloneable, IEquatable<CellPadding>, IComparable<CellPadding>, IComparable
Public Class CellPadding
    Implements ISerializeSupport, ISerializable, INotifyPropertyChanged, ICloneable, IEquatable(Of CellPadding), IComparable(Of CellPadding), IComparable

Constructors

Name Description
CellPadding()

Initializes a new instance of the CellPadding class.

CellPadding(CellPadding)

Initializes a new instance of the CellPadding class.

CellPadding(int)

Initializes a new instance of the CellPadding class.

CellPadding(int, int, int, int)

Initializes a new instance of the CellPadding class.

CellPadding(SerializationInfo, StreamingContext)

Creates a new instance of the CellPadding class from serialization.

Properties

Name Description
All

Gets or sets the padding, in pixels, for the all edges.

Bottom

Gets or sets the padding, in pixels, for the bottom edge.

Horizontal

Gets the sum, in pixels, for the right and left edges.

IsEmpty

Gets a value indicating whether this instance is empty.

Left

Gets or sets the padding, in pixels, for the left edge.

Right

Gets or sets the padding, in pixels, for the right edge.

Top

Gets or sets the padding, in pixels, for the top edge.

Vertical

Gets the sum, in pixels, for the top and bottom edges.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

CompareTo(CellPadding)

Compares the current CellPadding object with another CellPadding object.

CompareTo(object)

Compares the current CellPadding object with another object.

Deserialize(XmlNodeReader)

Loads the object from XML.

Equals(CellPadding)

Determines whether the value of the specified object is equivalent to the current CellPadding object.

Equals(object)

Determines whether the value of the specified object is equivalent to the current CellPadding object.

GetHashCode()

Serves as a hash function for a particular type.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

Reset()

Resets this instance to default value.

Serialize(XmlTextWriter)

Saves the object to XML.

Events

Name Description
PropertyChanged

Occurs when a property value of the CellPadding changes.

Operators

Name Description
operator ==(CellPadding, CellPadding)

Implements the operator ==.

operator !=(CellPadding, CellPadding)

Implements the operator !=.