Share via


AnimationContext Enum

Definition

Specifies the various contexts where a control can be animated.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

This enumeration supports a bitwise combination of its member values.

public enum class AnimationContext
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [System.Flags]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Version(1)]
enum class AnimationContext
/// [System.Flags]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class AnimationContext
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[System.Flags]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Version(1)]
public enum AnimationContext
[System.Flags]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum AnimationContext
Public Enum AnimationContext
Inheritance
AnimationContext
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute FlagsAttribute ExperimentalAttribute VersionAttribute ContractVersionAttribute

Fields

Name Value Description
None 0

No animation is performed. This is the default.

CollectionChangeAdd 1

An item is added to a collection.

CollectionChangeRemove 2

An item is removed from a collection.

CollectionChangeReset 4

A change to a collection is reverted.

LayoutTransition 8

A layout is updated.

Applies to

See also