Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.39 KB

animatedsettingsvisualsource_trycreateanimatedvisual_383899080.md

File metadata and controls

41 lines (22 loc) · 1.39 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.AnimatedVisuals.AnimatedSettingsVisualSource.TryCreateAnimatedVisual(Microsoft.UI.Composition.Compositor,System.Object@)
winrt method

Microsoft.UI.Xaml.Controls.AnimatedVisuals.AnimatedSettingsVisualSource.TryCreateAnimatedVisual(Microsoft.UI.Composition.Compositor,System.Object@)

-description

Attempts to create an instance of an AnimatedSettingsVisualSource object for an AnimatedIcon.

-parameters

-param compositor

The Compositor used to create objects for the animated visual.

-param diagnostics

Diagnostics information about the IAnimatedVisualSource result. The type and contents of the object depend on the IAnimatedVisualSource implementation.

This parameter is optional.

-returns

An IAnimatedVisual, or null.

-remarks

-see-also

IAnimatedVisualSource, Animated icons guidance

-examples