AnimationContext Enum

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.

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.

C#
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[System.Flags]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Version(1)]
public enum AnimationContext
C#
[System.Flags]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
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

Product Versions
WinUI 2 2.5-prerelease, 2.6-prerelease, 2.7-prerelease, 2.8-prerelease

See also