The CellStyle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
CellStyle |
Methods
| Name | Description | |
|---|---|---|
|
|
Apply(Border) |
Applies the attributes defined by this CellStyle to a cell.
|
|
|
Apply(Border, SelectedState) |
Applies the attributes defined by this CellStyle to a cell.
|
|
|
Clone |
Gets a clone of this CellStyle.
|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
|
|
Background |
Gets or sets the Brush used to paint the cell background.
|
|
|
BorderBrush |
Gets or sets the Brush used to render the cell borders.
|
|
|
BorderThickness |
Gets or sets the Thickness of the cell borders.
|
|
|
CornerRadius |
Gets or sets the CornerRadius of the cell borders.
|
|
|
FontFamily |
Gets or sets the FontFamily used to render text in a cell.
|
|
|
FontSize |
Gets or sets the size of the font used to render text in a cell.
|
|
|
FontStyle |
Gets or sets the FontStyle used to render text in a cell.
|
|
|
FontWeight |
Gets or sets the FontWeight used to render text in a cell.
|
|
|
Foreground |
Gets or sets the Brush used to paint the cell text.
|
|
|
HorizontalAlignment |
Gets or sets the HorizontalAlignment of the cell content.
|
|
|
Tag |
Gets or sets an arbitrary object value that can be used to store custom
information about this CellStyle.
|
|
|
TextDecorations |
Gets or sets the TextDecorationCollection to be applied to text in the cell.
|
|
|
TextTrimming |
Gets or sets the TextTrimming used to render text in a cell.
|
|
|
TextWrapping |
Gets or sets whether text should be wrapped in the cell.
|
|
|
VerticalAlignment |
Gets or sets the VerticalAlignment of the cell content.
|
Events
| Name | Description | |
|---|---|---|
|
|
PropertyChanged |
Occurs when the value of a property changes.
|