[]
Defines attributes used to render grid cells.
public class CellStyle : INotifyPropertyChanged
Name | Description |
---|---|
CellStyle() |
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. |
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. |
GetCellChildren(DependencyObject) | |
OnPropertyChanged(PropertyChangedEventArgs) | Raises the PropertyChanged event. |
Name | Description |
---|---|
PropertyChanged | Occurs when the value of a property changes. |