Skip to main content

TcxGridLevel.Styles Property

Controls the appearance of child level elements.

Declaration

property Styles: TcxGridLevelStyles read; write;

Property Value

Type
TcxGridLevelStyles

Remarks

The Styles property provides attributes and events managing the style of tabs and the tabs panel. Tabs are displayed on the tabs panel and enable switching between several Views at the child nesting level. By default the tab panel is hidden and only one View is visible.

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.

In addition, you need to assign the Caption of a corresponding child grid level to identify it when displaying the tab panel.

See Also