The CellStyle type exposes the following members.

Constructors

  Name Description
Public method CellStyle

Methods

  Name Description
Public method Apply
Applies the attributes defined by this CellStyle to a cell.
Public method Clone
Gets a clone of this CellStyle.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnPropertyChanged
Raises the PropertyChanged event.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Background
Gets or sets the Brush used to paint the cell background.
Public property BorderBrush
Gets or sets the Brush used to render the cell borders.
Public property BorderThickness
Gets or sets the Thickness of the cell borders.
Public property CornerRadius
Gets or sets the CornerRadius of the cell borders.
Public property FontFamily
Gets or sets the FontFamily used to render text in a cell.
Public property FontSize
Gets or sets the size of the font used to render text in a cell.
Public property FontStyle
Gets or sets the FontStyle used to render text in a cell.
Public property FontWeight
Gets or sets the FontWeight used to render text in a cell.
Public property Foreground
Gets or sets the Brush used to paint the cell text.
Public property HorizontalAlignment
Gets or sets the HorizontalAlignment of the cell content.
Public property Tag
Gets or sets an arbitrary object value that can be used to store custom information about this CellStyle.
Public property TextDecorations
Gets or sets the TextDecorationCollection to be applied to text in the cell.
Public property TextTrimming
Gets or sets the TextTrimming used to render text in a cell.
Public property TextWrapping
Gets or sets whether text should be wrapped in the cell.
Public property VerticalAlignment
Gets or sets the VerticalAlignment of the cell content.

Events

  Name Description
Public event PropertyChanged
Occurs when the value of a property changes.

See Also