ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Working with Style Properties

Just as a document template in Microsoft Word specifies the overall appearance of individual paragraphs in a document, the named members of the GridStyleCollection object provide an overall display template for a C1TrueDBGrid or C1TrueDBDropDown control. However, to customize the appearance of individual Split or C1DisplayColumn objects, modify the appropriate Style object property:

CaptionStyle

Controls the caption style for an object.

EditorStyle

Controls the editor style for an object.

EvenRowStyle

Controls the row style for even-numbered rows.

FilterBarStyle

Controls the style of the columns in the filter bar.

FooterStyle

Controls the footing style for an object.

HeadingStyle

Controls the heading style for an object.

HighlightRowStyle

Controls the marquee style when set to Highlight Row.

InactiveStyle

Controls the inactive heading style for an object.

OddRowStyle

Controls the row style for odd-numbered rows.

RecordSelectorStyle

Controls the record selector style for an object.

SelectedStyle

Controls the selected row/column style for an object.

Style

Controls the normal style for an object.

 


Modifying a Style Property Directly

Named Styles vs. Anonymous Styles

Anonymous Style Inheritance


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