Back to Devexpress

ToolboxOptionsView.ScrollBarMode Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxoptionsview-6aea4d02.md

latest2.7 KB
Original Source

ToolboxOptionsView.ScrollBarMode Property

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ScrollBarMode.Default)]
[DXCategory("Appearance")]
public ScrollBarMode ScrollBarMode { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(ScrollBarMode.Default)>
Public Property ScrollBarMode As ScrollBarMode

Property Value

TypeDefault
ScrollBarModeDefault

Available values:

NameDescription
Touch

A touch-style vertical scroll bar is used. This scroll bar supports the auto-hide functionality.

| | Default |

A standard vertical scroll bar is used by default. A touch-style scroll bar is used when the WindowsFormsSettings.ScrollUIMode is set to Touch. The touch-style scroll bar supports the auto-hide functionality.

| | Hidden |

The scroll bar is hidden.

| | Auto |

A scroll bar is displayed when the content height is greater than the control’s visible height. Otherwise, it is hidden.

| | AutoCollapse |

Entirely collapses the scroll bar’s area when there is no need to display the scroll bar. It is recommended to use this mode only when the AccordionControl.AnimationType property is set to None.

| | Fluent |

Scroll bars optimized for Fluent Design Forms. Automatically expands when an end-user flicks the scrollable content (or the mouse cursor moves over the control), and collapses to a thin stripe if the control is not scrolled (or the mouse cursor does not move) for some time. The arrow buttons are never displayed.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ScrollBarMode
ToolboxControl

.OptionsView .ScrollBarMode

|

See Also

ToolboxOptionsView Class

ToolboxOptionsView Members

DevExpress.XtraToolbox Namespace