Skip to main content
A newer version of this page is available.
All docs
V18.2

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.v18.2.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