ScrollBarBase.ApplyUIMode(ScrollBarBase) Method
In This Article
Applies the default scroll mode to the specified scroll bar.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public static ScrollBarBase ApplyUIMode(
ScrollBarBase scroll
)
#Parameters
Name | Type | Description |
---|---|---|
scroll | Scroll |
A Scroll |
#Returns
Type | Description |
---|---|
Scroll |
A Scroll |
#Remarks
The ApplyUIMode method allows you to apply the default UI mode (ScrollUIMode.Default) to the specified scroll bar. The default UI mode is optimal for desktop applications.
To specify the UI mode for all scroll bars, set the WindowsFormsSettings.ScrollUIMode static (Shared in VB) property before your application window is initialized.
See Also