Skip to content

peColumnStyle - cCJGrid

Determines the style used to paint column headers

Type: Property
Access: Read/Write
Data Type: xtpGridColumnStyle
Parameters: None

Syntax

Property xtpGridColumnStyle peColumnStyle
Access Type Syntax
Read Access: Get peColumnStyle to xtpGridColumnStyleVariable
Write Access: Set peColumnStyle to xtpGridColumnStyleVariable/Value

Description

Valid values are:

Constant Meaning
xtpColumnShaded Columns are displayed in the "shaded/grey" style
xtpColumnFlat Column headers are displayed in the "flat" style
xtpColumnExplorer Column headers are displayed in the Windows "Explorer" style. This is intended to match the Visual Studio 2005 "Whidbey" style
xtpColumnOffice2003 Column headers are displayed in the "Office 2003" style
xtpColumnResource Column headers are displayed in the "Office 2007" style

Particular column styles support (or do not support) various properties that are used to paint the column header. For example, the xtpColumnOffice2007 style supports gradient background colors (piCaptionBackGradientColorDark, piCaptionBackGradientColorLight), whereas the xtpColumnFlat style does not.

Note: This property does not affect the column header that is displayed in the Field Chooser.