UISettingsController.SetAnimationsEnabled(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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"/>