Skip to main content

TcxGridLevel.Caption Property

Specifies the caption for the current level.

Declaration

property Caption: string read; write;

Property Value

Type
string

Remarks

The Caption property defines the string identifying the current level when the tab panel is visible. The tab panel allows switching between grid levels (Views) at the same nesting level. The caption will be displayed within the corresponding tab with the tab image specified by the ImageIndex property.

The tab panel at the root nesting level is designed for switching between root grid levels. You can display it by changing the RootLevelOptions.DetailTabsPosition attribute value of a grid control from dtpNone to dtpLeft or dtpTop. As a result, the tab panel will appear at the left grid edge or its top.

To display the tab panel for switching between child levels, do the same with the Options.DetailTabsPosition property of a parent (master) level.

See Also