AnimatedChevronRightDownSmallVisualSource.TryCreateAnimatedVisual 方法

定义

尝试为 AnimatedIcon 创建 对象的实例AnimatedChevronRightDownSmallVisualSource

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@)

适用于

另请参阅