IAnimatedVisual2 Interface

Definition

An animated Composition.Visual that can be used by other objects, such as an AnimatedVisualPlayer or AnimatedIcon. Extends IAnimatedVisual with methods to create and destroy animations.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 196608)]
[Windows.Foundation.Metadata.Guid(1983528715, 38348, 23023, 152, 144, 20, 120, 104, 89, 157, 233)]
public interface IAnimatedVisual2 : IAnimatedVisual, System.IDisposable
Attributes
Implements

Properties

Duration

Gets the duration of the animated visual.

(Inherited from IAnimatedVisual)
RootVisual

Gets the root Visual of the animated visual.

(Inherited from IAnimatedVisual)
Size

Gets the size of the animated visual.

(Inherited from IAnimatedVisual)

Methods

CreateAnimations()
DestroyAnimations()
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to

Produkt Verzie
Windows App SDK 1.2, 1.3, 1.4, 1.5, 1.6