Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.27 KB

uisettingscontroller_requestdefaultasync_1291358283.md

File metadata and controls

36 lines (25 loc) · 1.27 KB
-api-id -api-type
M:Windows.UI.ViewManagement.Core.UISettingsController.RequestDefaultAsync
winrt method

Windows.UI.ViewManagement.Core.UISettingsController.RequestDefaultAsync

-description

Retrieves the default UISettingsController with access to the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).

-returns

An asynchronous operation that completes with a UISettingsController.

-remarks

Important

This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list.

Add the following to the Package.appmanifest:

  • To <Package>
    • IgnorableNamespaces="iot"
  • Under <Capabilities>
    • <iot:Capability Name="systemManagement"/>

-see-also

ViewManagement.UISettingsAnimationsEnabledChangedEventArgs, ViewManagement.UISettingsMessageDurationChangedEventArgs

-examples