IAnimatedVisual2 介面

定義

public interface class IAnimatedVisual2 : IAnimatedVisual, IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
/// [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), 65536)]
[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
屬性
實作

屬性

Duration

取得動畫視覺效果的持續時間。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

(繼承來源 IAnimatedVisual)
RootVisual

取得動畫視覺效果的根 視覺效果

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

(繼承來源 IAnimatedVisual)
Size

取得動畫視覺效果的大小。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

(繼承來源 IAnimatedVisual)

方法

CreateAnimations()
DestroyAnimations()
Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

適用於