The XLStyle type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
|
|
Clone |
Creates a new XLStyle object that is a copy of the current instance.
|
|
|
Equals |
Determines whether two XLStyle objects are equivalent.
(Overrides Object..::..Equals(Object).) |
|
|
FormatDotNetToXL(String) |
Converts a .NET-style format string into an Excel format string.
|
|
|
FormatDotNetToXL(String, CultureInfo) |
Converts a .NET-style format string into an Excel format string.
|
|
|
FormatDotNetToXL(String, Type) |
Converts a .NET-style format string into an Excel format string.
|
|
|
FormatDotNetToXL(String, Type, CultureInfo) |
Converts a .NET-style format string into an Excel format string.
|
|
|
FormatXLToDotNet(String) |
Converts an Excel-style format string into a .NET-style format string.
|
|
|
FormatXLToDotNet(String, CultureInfo) |
Converts an Excel-style format string into a .NET-style format string.
|
|
|
GetHashCode |
Serves as a hash function suitable for use in hashing algorithms and
data structures like a hash table.
(Overrides Object..::..GetHashCode()()()().) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
SetBorderColor |
Sets the border color for this XLStyle.
|
|
|
SetBorderStyle |
Sets the border style for this XLStyle.
|
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
|
|
AlignHorz |
Gets or sets the horizontal alignment for this XLStyle.
|
|
|
AlignVert |
Gets or sets the vertical alignment for this XLStyle.
|
|
|
BackColor |
Gets or sets the background color for this XLStyle.
|
|
|
BackPattern |
Gets or sets the background pattern for this XLStyle.
|
|
|
BorderBottom |
Gets or sets the line style used to draw the bottom border.
|
|
|
BorderColorBottom |
Gets or sets the color used to draw the bottom border.
|
|
|
BorderColorLeft |
Gets or sets the color used to draw the left border.
|
|
|
BorderColorRight |
Gets or sets the color used to draw the right border.
|
|
|
BorderColorTop |
Gets or sets the color used to draw the top border.
|
|
|
BorderLeft |
Gets or sets the line style used to draw the left border.
|
|
|
BorderRight |
Gets or sets the line style used to draw the right border.
|
|
|
BorderTop |
Gets or sets the line style used to draw the top border.
|
|
|
Diagonal |
Gets or sets which diagonal lines to display (none, forward, backward).
|
|
|
DiagonalColor |
Gets or sets the color used to draw the diagonal lines.
|
|
|
DiagonalStyle |
Gets or sets the line style used to draw the diagonal lines.
|
|
|
Direction |
Gets or sets the context reading direction for this XLStyle.
|
|
|
Font |
Gets or sets the font for this XLStyle.
|
|
|
ForeColor |
Gets or sets the foreground color for this XLStyle.
|
|
|
Format |
Gets or sets the format associated with this XLStyle.
|
|
|
Indent |
Gets or sets the indent cell contents for this XLStyle.
|
|
|
Locked |
Gets or sets whether the cell should be locked for editing when the XLSheet
is protected.
|
|
|
PatternColor |
Gets or sets the color of the background pattern for this XLStyle.
|
|
|
Rotation |
Gets or sets the rotation for this XLStyle, in degrees.
|
|
|
ShrinkToFit |
Gets or sets whether this XLStyle causes cell contents to shrink to fit.
|
|
|
WordWrap |
Gets or sets whether this XLStyle causes cell contents to wrap.
|