Back to Devexpress

TcxCustomTrackBar.Style Property

vcl-cxtrackbar-dot-tcxcustomtrackbar.md

latest2.6 KB
Original Source

TcxCustomTrackBar.Style Property

Defines style settings applied to the track editor in the base (normal) state.

Declaration

delphi
property Style: TcxTrackBarStyle read; write;

Property Value

TypeDescription
TcxTrackBarStyle

Stores track bar style settings.

|

Remarks

Every style accessible through the Styles property corresponds to different editor states. Pass the required state as the AState parameter to access corresponding style settings:

AState ValueStyle Property[1]Description
csNormalStyleStores base editor appearance settings.
csActiveStyleFocusedStores editor appearance settings when the editor has focus.
csDisabledStyleDisabledStores appearance settings of the editor when it is disabled.
csHotTrackStyleHotStores appearance settings of the editor when it is hot-tracked if the Style.HotTrack property is set to True.
csReadOnlyStyleReadOnlyStores appearance settings of the editor in read-only mode if the Style.ReadOnly property is set to True.

Refer to the TcxTrackBarStyle class description for detailed information on all available editor appearance settings.

Tip

To apply the same style settings to multiple editors, you can use a TcxEditStyleController component. If you need to apply the same style settings to all editors in your application, you can use a TcxDefaultEditStyleController component.

Footnotes

  1. This column lists corresponding editor style properties inherited from the TcxCustomEdit class.

See Also

TcxCustomTrackBar Class

TcxCustomTrackBar Members

cxTrackBar Unit