ScrollBarBase.ApplyUIMode(ScrollBarBase, ScrollUIMode) Method
Applies the specified UI mode to the specified scroll bar.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public static ScrollBarBase ApplyUIMode(
ScrollBarBase scroll,
ScrollUIMode controlMode
)
#Parameters
Name | Type | Description |
---|---|---|
scroll | Scroll |
A Scroll |
control |
Scroll |
A Scroll |
#Returns
Type | Description |
---|---|
Scroll |
A Scroll |
#Remarks
The ApplyUIMode method allows you to apply the specified UI mode to the specified scroll bar. See the ScrollUIMode enumeration to learn about the available scroll bar UI modes.
To specify the UI mode for all scroll bars, set the WindowsFormsSettings.ScrollUIMode static (Shared in VB) property before your application window is initialized.