共用方式為


AnimatedChevronUpDownSmallVisualSource.TryCreateAnimatedVisual 方法

定義

嘗試建立AnimatedIcon物件的實例 AnimatedChevronUpDownSmallVisualSource

public:
 virtual IAnimatedVisual ^ TryCreateAnimatedVisual(Compositor ^ compositor, [Out] Platform::Object ^ & diagnostics) = TryCreateAnimatedVisual;
IAnimatedVisual TryCreateAnimatedVisual(Compositor const& compositor, [Out] IInspectable const& & diagnostics);
public IAnimatedVisual TryCreateAnimatedVisual(Compositor compositor, out object diagnostics);
Public Function TryCreateAnimatedVisual (compositor As Compositor, ByRef diagnostics As Object) As IAnimatedVisual

參數

compositor
Compositor

用來建立動畫視覺效果物件的 Compositor

diagnostics
Object

Platform::Object

IInspectable

IAnimatedVisualSource結果的診斷資訊。 物件的類型和內容取決於 IAnimatedVisualSource 實作

這是選擇性參數。

傳回

IAnimatedVisualnull

實作

M:Microsoft.UI.Xaml.Controls.IAnimatedVisualSource.TryCreateAnimatedVisual(Microsoft.UI.Composition.Compositor,System.Object@) M:Microsoft.UI.Xaml.Controls.IAnimatedVisualSource.TryCreateAnimatedVisual(Microsoft.UI.Composition.Compositor,Platform::Object@) M:Microsoft.UI.Xaml.Controls.IAnimatedVisualSource.TryCreateAnimatedVisual(Microsoft.UI.Composition.Compositor,IInspectable@)

適用於

另請參閱