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.

public interface class IAnimatedVisual2 : IAnimatedVisual, IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(1983528715, 38348, 23023, 152, 144, 20, 120, 104, 89, 157, 233)]
struct IAnimatedVisual2 : IAnimatedVisual, IClosable
[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
Public Interface IAnimatedVisual2
Implements IAnimatedVisual, 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