Skip to main content
A newer version of this page is available. .

XlFormatting Members

Serves as a base for the XlCellFormatting class and provides properties to change cell format settings.

Properties

Name Description
Alignment Gets or sets alignment options to be applied to the cell content.
Border Gets or sets border settings to be applied to a cell.
Fill Gets or sets fill settings to be applied to the cell background.
Font Gets or sets font settings to be applied to the cell content.
IsDateTimeFormatString Gets or sets a value indicating whether the format string assigned to the XlFormatting.NetFormatString property is a date and time format string.
NetFormatString Gets or sets the .NET-style format string that specifies how a numeric value should be displayed in a cell.
NumberFormat Gets or sets an MS Excel-style number format that specifies how a numeric value should be displayed in a cell.

Methods

Name Description
CopyObject<T>(T) static This member supports the internal infrastructure and is not intended to be used directly from your code.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also