The XLStyle type exposes the following members.

Constructors

  Name Description
Public method XLStyle
Creates a new instance of XLStyle and adds it to the specified C1XLBook.

Methods

  Name Description
Public method Clone
Creates a new XLStyle object that is a copy of the current instance.
Public method Equals
Determines whether two XLStyle objects are equivalent.
(Overrides Object..::..Equals(Object).)
Public method Static member FormatDotNetToXL(String)
Converts a .NET-style format string into an Excel format string.
Public method Static member FormatDotNetToXL(String, CultureInfo)
Converts a .NET-style format string into an Excel format string.
Public method Static member FormatDotNetToXL(String, Type)
Converts a .NET-style format string into an Excel format string.
Public method Static member FormatDotNetToXL(String, Type, CultureInfo)
Converts a .NET-style format string into an Excel format string.
Public method Static member FormatXLToDotNet(String)
Converts an Excel-style format string into a .NET-style format string.
Public method Static member FormatXLToDotNet(String, CultureInfo)
Converts an Excel-style format string into a .NET-style format string.
Public method GetHashCode
Serves as a hash function suitable for use in hashing algorithms and data structures like a hash table.
(Overrides Object..::..GetHashCode()()()().)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method SetBorderColor
Sets the border color for this XLStyle.
Public method SetBorderStyle
Sets the border style for this XLStyle.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property AlignHorz
Gets or sets the horizontal alignment for this XLStyle.
Public property AlignVert
Gets or sets the vertical alignment for this XLStyle.
Public property BackColor
Gets or sets the background color for this XLStyle.
Public property BackPattern
Gets or sets the background pattern for this XLStyle.
Public property BorderBottom
Gets or sets the line style used to draw the bottom border.
Public property BorderColorBottom
Gets or sets the color used to draw the bottom border.
Public property BorderColorLeft
Gets or sets the color used to draw the left border.
Public property BorderColorRight
Gets or sets the color used to draw the right border.
Public property BorderColorTop
Gets or sets the color used to draw the top border.
Public property BorderLeft
Gets or sets the line style used to draw the left border.
Public property BorderRight
Gets or sets the line style used to draw the right border.
Public property BorderTop
Gets or sets the line style used to draw the top border.
Public property Diagonal
Gets or sets which diagonal lines to display (none, forward, backward).
Public property DiagonalColor
Gets or sets the color used to draw the diagonal lines.
Public property DiagonalStyle
Gets or sets the line style used to draw the diagonal lines.
Public property Direction
Gets or sets the context reading direction for this XLStyle.
Public property Font
Gets or sets the font for this XLStyle.
Public property ForeColor
Gets or sets the foreground color for this XLStyle.
Public property Format
Gets or sets the format associated with this XLStyle.
Public property Indent
Gets or sets the indent cell contents for this XLStyle.
Public property Locked
Gets or sets whether the cell should be locked for editing when the XLSheet is protected.
Public property PatternColor
Gets or sets the color of the background pattern for this XLStyle.
Public property Rotation
Gets or sets the rotation for this XLStyle, in degrees.
Public property ShrinkToFit
Gets or sets whether this XLStyle causes cell contents to shrink to fit.
Public property WordWrap
Gets or sets whether this XLStyle causes cell contents to wrap.

See Also