The CellStyle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
CellStyle |
Methods
| Name | Description | |
|---|---|---|
|
|
Apply |
Applies the attributes defined by this CellStyle to a cell.
|
|
|
Clone |
Gets a clone of this CellStyle.
|
|
|
Equals | (Inherited from Object.) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
OnPropertyChanged |
Raises the PropertyChanged event.
|
|
|
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.
|