Back to Devexpress

TcxLookAndFeel.ScrollbarMode Property

vcl-cxlookandfeels-dot-tcxlookandfeel-1644ecbe.md

latest2.8 KB
Original Source

TcxLookAndFeel.ScrollbarMode Property

Specifies the active scrollbar mode at the level of an individual control.

Declaration

delphi
property ScrollbarMode: TdxScrollbarMode read; write;

Property Value

TypeDescription
TdxScrollbarMode

The active scrollbar mode.

|

Remarks

Set the ScrollbarMode property to sbmClassic, sbmTouch, or sbmHybrid to explicitly enable the corresponding scrollbar mode at the level of an individual DevExpress control.

Refer to the TdxScrollbarMode type description for detailed information on available options.

Property Setter Behavior

The ScrollbarMode property setter adds the lfvScrollbarMode flag to the AssignedValues property once a different scrollbar mode is applied to the control outside a BeginUpdate/EndUpdate block or after an EndUpdate procedure call.

Limitations

The ScrollbarMode property does not affect the following controls because they support only the Classic scrollbar mode:

TcxTreeViewA deprecated Tree View control.TcxListViewA deprecated List View control.TcxShellTreeViewA deprecated Shell Tree View control.TcxShellListViewA deprecated Shell List View control.

Refer to the TdxScrollbarMode type description for information on scrollbar mode support in different DevExpress controls.

Default Value

The ScrollbarMode property’s default value is sbmDefault.

The default ScrollbarMode property value indicates that the control uses the global scrollbar mode setting (for example, the setting accessible through a TdxSkinController component’s ScrollbarMode property).

See Also

TcxCustomLookAndFeelController.ScrollMode Property

TcxLookAndFeel Class

TcxLookAndFeel Members

cxLookAndFeels Unit