Skip to main content
All docs
V19.1

ScrollBarBase.GetVerticalScrollBarWidth(ScrollUIMode) Method

Returns the default width, in pixels, of vertical scroll bars displayed in the specified UI mode.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static int GetVerticalScrollBarWidth(
    ScrollUIMode controlMode
)

Parameters

Name Type Description
controlMode ScrollUIMode

A ScrollUIMode enumeration value that specifies the UI mode in which a scroll bar is displayed.

Returns

Type Description
Int32

A Int32 value that indicates the default width, in pixels, of a vertical scroll bar.

Remarks

The static GetVerticalScrollBarWidth method returns the default width, in pixels, of vertical scroll bars.

See Also