Editing Styles

ComponentOne DataGrid for Silverlight's C1DataGrid control provides several style properties that you can use to completely change the appearance of the control and its rows, columns, headers, and cells. Some of the included styles are described in the table below:

 

Style

Description

CellStyle

Gets or sets the style that is used when rendering the cells.

ColumnHeaderStyle

Gets or sets the style that is used when rendering the column headers.

DragOverColumnStyle

Style applied to a ContentControl element used to show the dragged column while it is moved.

DragSourceColumnStyle

Style applied to a ContentControl that is placed over the source column when it starts the drag-and-drop operation.

DropIndicatorStyle

Style applied to a ContentControl element used to indicate the position where the dragged column will be dropped.

FilterStyle

Gets or sets the style used for the filter control container.

FocusStyle

Sets the style of the internal Rectangle used to show the focus on the C1DataGrid.

GroupColumnHeaderStyle

Gets or sets the style that is used when rendering the column headers in the group panel.

GroupRowHeaderStyle

Gets of sets the style of the header of the group row.

GroupRowStyle

Gets of sets the style of the group row.

NewRowHeaderStyle

Gets or sets the style that is used when rendering the row header for entering new items.

NewRowStyle

Gets or sets the style that is used when rendering the row for entering new items.

RowHeaderStyle

Gets or sets the style that is used when rendering the row headers.

RowStyle

Gets or sets the style that is used when rendering the rows.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.