Share via


UISettingsController.SetAnimationsEnabled(Boolean) Method

Definition

Turn window animation effects on or off through the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).

public:
 virtual void SetAnimationsEnabled(bool value) = SetAnimationsEnabled;
void SetAnimationsEnabled(bool const& value);
public void SetAnimationsEnabled(bool value);
function setAnimationsEnabled(value)
Public Sub SetAnimationsEnabled (value As Boolean)

Parameters

value
Boolean

bool

True, if enabled. Otherwise, false.

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"/>

Applies to

See also