ComponentOne Grid for WPF: Themes and Templates > Resource Keys > Grid and Cell Resource Keys

Grid and Cell Resource Keys

The following tables describe grid and cell resource keys:

Grid Background Resource Key

The following grid background resource key is included:

 

Resource Key

Description

C1DataGrid_Brush

Represents the C1DataGrid background brush.

Grid Line Resource Keys

The following grid line resource keys are included:

 

Resource Key

Description

C1DataGrid_GridLineVertical_Brush

Represents the vertical grid line's brush.

C1DataGrid_GridLineVertical_Thickness

Represents the vertical grid line's thickness.

C1DataGrid_GridLineHorizontal_Brush

Represents the horizontal grid line's brush.

C1DataGrid_GridLineHorizontal_Thickness

Represents the horizontal grid line's thickness.

Cell Resource Keys

The following  cell resource keys are included:

 

Resource Key

Description

C1DataGrid_Cell_Brush

Represents the cell's background brush.

C1DataGrid_Cell_HoverBrush

Represents the cell's background brush when the pointer is over the cell.

C1DataGrid_Cell_SelectedBrush

Represents the selected cell's background brush.

C1DataGrid_Cell_SelectedHoverBrush

Represents the selected cell's background brush when the pointer is over the cell.

C1DataGrid_CellBorder_Brush

Represents the cell's border brush.

C1DataGrid_CellBorder_HoverBrush

Represents the cell's border brush when the pointer is over the cell.

C1DataGrid_CellBorder_SelectedBrush

Represents the selected cell's border brush.

C1DataGrid_CellBorder_SelectedHoverBrush

Represents the selected cell's border brush when the pointer is over the cell.

C1DataGrid_CellBorder_Thickness

Represents the cell's border thickness (all 4 edges).

C1DataGrid_CellBorder_CornerRadius

Represents the cell's border corner radius (all 4 corners).

C1DataGrid_CellText_Brush

Represents the cell's text brush.

C1DataGrid_CellText_HoverBrush

Represents the cell's text brush when the pointer is over the cell.

C1DataGrid_CellText_SelectedBrush

Represents the selected cell's text brush.

C1DataGrid_CellText_SelectedHoverBrush

Represents the selected cell's text brush when the pointer is over the cell.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.