Class SystemVisualStateManager
Provides an extended VisualStateManager that honors system-wide animation settings and hardware capabilities. Animations are used by default if:
- ClientAreaAnimation is true, and
-
Tier is
1
or higher.
Inherited Members
Namespace: PresentationTheme.Aero
Assembly: PresentationTheme.Aero.dll
Syntax
public sealed class SystemVisualStateManager : VisualStateManager
Properties
| Improve this Doc View SourceAnimates
Gets a value indicating whether animations are used for state transitions.
Declaration
public bool Animates { get; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
| Improve this Doc View SourceInstance
Gets the global instance of the SystemVisualStateManager.
Declaration
public static SystemVisualStateManager Instance { get; }
Property Value
Type | Description |
---|---|
SystemVisualStateManager |
UseAnimationsOverride
Gets or sets a value determining whether animations are forcibly enabled or disabled.
Declaration
public bool? UseAnimationsOverride { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> | true to forcibly enable animations. false to disable animations. Use null to automatically determine whether animations should be used. |
Methods
| Improve this Doc View SourceGoToStateCore(FrameworkElement, FrameworkElement, String, VisualStateGroup, VisualState, Boolean)
Declaration
protected override bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group, VisualState state, bool useTransitions)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | control | |
FrameworkElement | stateGroupsRoot | |
String | stateName | |
VisualStateGroup | group | |
VisualState | state | |
Boolean | useTransitions |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Events
| Improve this Doc View SourceAnimatesChanged
Occurs when the value of the Animates property has changed.
Declaration
public event EventHandler AnimatesChanged
Event Type
Type | Description |
---|---|
EventHandler |