Skip to main content

TcxCustomTrackBar.Style Property

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

Declaration

property Style: TcxTrackBarStyle read; write;

Property Value

Type Description
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 Value Style Property[1] Description
csNormal Style Stores base editor appearance settings.
csActive StyleFocused Stores editor appearance settings when the editor has focus.
csDisabled StyleDisabled Stores appearance settings of the editor when it is disabled.
csHotTrack StyleHot Stores appearance settings of the editor when it is hot-tracked if the Style.HotTrack property is set to True.
csReadOnly StyleReadOnly Stores 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