Sdílet prostřednictvím


UISettings.AutoHideScrollBars Property

Definition

Gets whether the user has specified that scroll bars should be automatically hidden when not being interacted with.

public:
 property bool AutoHideScrollBars { bool get(); };
bool AutoHideScrollBars();
public bool AutoHideScrollBars { get; }
var boolean = uISettings.autoHideScrollBars;
Public ReadOnly Property AutoHideScrollBars As Boolean

Property Value

Boolean

bool

True, if Settings -> Ease of Access -> Display -> Automatically hide scroll bars in Windows is set. Otherwise, false.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

This property is intended for handling mouse cursor proximity in custom UI frameworks and custom scroll bar implementations.

This property returns the specified user setting, not whether a specific scroll bar is visible.

You must manage all view updates that might be required when hiding or displaying the scroll bar.

Applies to

See also