Skip to main content

TdxStatusBarPanel.PanelStyleClassName Property

Specifies the panel’s style by its name.

Declaration

property PanelStyleClassName: string read; write;

Property Value

Type
string

Remarks

Use the PanelStyleClassName property to specify panel style using a string corresponding to the desired style. Note that the same strings are displayed within the PanelStyle property’s editor at design time.

Once a string is assigned to the PanelStyleClassName property, the panel style is changed to the specified and default settings are applied to it. However, if the style being assigned is the panel’s current style, nothing happens.

The table below lists strings available for setting the PanelStyleClassName property and corresponding style classes.

Panel Style String Class
Toolbar Panel TdxStatusBarToolbarPanelStyle TdxStatusBarToolbarPanelStyle
Text Panel TdxStatusBarTextPanelStyle TdxStatusBarTextPanelStyle
Container Panel TdxStatusBarContainerPanelStyle TdxStatusBarContainerPanelStyle
Keyboard State Panel TdxStatusBarKeyboardStatePanelStyle TdxStatusBarKeyboardStatePanelStyle
State Indicator Panel TdxStatusBarStateIndicatorPanelStyle TdxStatusBarStateIndicatorPanelStyle
Default An empty string No panel style is assigned to the PanelStyle property. The panel serves as a simple text panel in this instance.

Note

You can also specify the panel style by assigning the desired class to the PanelStyleClass property.

See Also