Прочетете на английски

Споделяне чрез


IAnimatedVisual2 Interface

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.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
[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.

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

(Inherited from IAnimatedVisual)
RootVisual

Gets the root Visual of the animated visual.

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

(Inherited from IAnimatedVisual)
Size

Gets the size of the animated visual.

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

(Inherited from IAnimatedVisual)

Methods

CreateAnimations()
DestroyAnimations()
Dispose()

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

Applies to

Продукт Версии
WinUI 2 2.8-prerelease, 2.8