The CellStyle type exposes the following members.

Constructors

  Name Description
Public method CellStyle

Methods

  Name Description
Public method Apply(Border)
Applies the attributes defined by this CellStyle to a cell.
Public method Apply(Border, SelectedState)
Applies the attributes defined by this CellStyle to a cell.
Public method Clone
Gets a clone of this CellStyle.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (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