Dela via


UISettings.AutoHideScrollBarsChanged Event

Definition

Event invoked when the AutoHideScrollBars state changes.

// Register
event_token AutoHideScrollBarsChanged(TypedEventHandler<UISettings, UISettingsAutoHideScrollBarsChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void AutoHideScrollBarsChanged(event_token const* cookie) const;

// Revoke with event_revoker
UISettings::AutoHideScrollBarsChanged_revoker AutoHideScrollBarsChanged(auto_revoke_t, TypedEventHandler<UISettings, UISettingsAutoHideScrollBarsChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<UISettings,UISettingsAutoHideScrollBarsChangedEventArgs> AutoHideScrollBarsChanged;
function onAutoHideScrollBarsChanged(eventArgs) { /* Your code */ }
uISettings.addEventListener("autohidescrollbarschanged", onAutoHideScrollBarsChanged);
uISettings.removeEventListener("autohidescrollbarschanged", onAutoHideScrollBarsChanged);
- or -
uISettings.onautohidescrollbarschanged = onAutoHideScrollBarsChanged;
Public Custom Event AutoHideScrollBarsChanged As TypedEventHandler(Of UISettings, UISettingsAutoHideScrollBarsChangedEventArgs) 

Event Type

Windows requirements

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

Remarks

A handler for this event is called on a worker thread, not the calling thread.

Applies to

See also