Skip to main content
All docs
V19.1

ScrollBarBase.GetHorizontalScrollBarHeight(ScrollUIMode) Method

Returns the default height, in pixels, of horizontal scroll bars displayed in the specified UI mode.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static int GetHorizontalScrollBarHeight(
    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 height, in pixels, of a horizontal scroll bar.

Remarks

The static GetHorizontalScrollBarHeight method returns the default height, in pixels, of horizontal scroll bars displayed in the specified UI mode.

See Also