ISelfPlayingAnimatedVisual 接口

定义

public interface class ISelfPlayingAnimatedVisual : IAnimatedVisual, IClosable
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Guid(4135422116, 17900, 21717, 185, 240, 124, 124, 204, 55, 251, 131)]
/// [Windows.Foundation.Metadata.Version(1)]
struct ISelfPlayingAnimatedVisual : IAnimatedVisual, IClosable
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Guid(4135422116, 17900, 21717, 185, 240, 124, 124, 204, 55, 251, 131)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
struct ISelfPlayingAnimatedVisual : IAnimatedVisual, IClosable
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Guid(4135422116, 17900, 21717, 185, 240, 124, 124, 204, 55, 251, 131)]
[Windows.Foundation.Metadata.Version(1)]
public interface ISelfPlayingAnimatedVisual : IAnimatedVisual, System.IDisposable
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Guid(4135422116, 17900, 21717, 185, 240, 124, 124, 204, 55, 251, 131)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public interface ISelfPlayingAnimatedVisual : IAnimatedVisual, System.IDisposable
Public Interface ISelfPlayingAnimatedVisual
Implements IAnimatedVisual, IDisposable
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ExperimentalAttribute GuidAttribute VersionAttribute ContractVersionAttribute
实现

属性

Duration

获取动画视觉对象的持续时间。

本文档适用于Windows 应用 SDK中的 WinUI 2 for UWP (for WinUI,请参阅) Windows 应用 SDK命名空间

(继承自 IAnimatedVisual)
RootVisual

获取动画 视觉对象的 根视觉对象。

本文档适用于Windows 应用 SDK中的 WinUI 2 for UWP (for WinUI,请参阅) Windows 应用 SDK命名空间

(继承自 IAnimatedVisual)
Size

获取动画视觉对象的大小。

本文档适用于Windows 应用 SDK中的 WinUI 2 for UWP (for WinUI,请参阅) Windows 应用 SDK命名空间

(继承自 IAnimatedVisual)

方法

Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

Pause()
PlayAsync(Double, Double, Boolean)
Resume()
SetPlaybackRate(Double)
SetProgress(Double)
SetProgressObject(CompositionPropertySet)
SetSize(Size)
Stop()

适用于