Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.32 KB

animatedicon_setstate_1565283236.md

File metadata and controls

36 lines (21 loc) · 1.32 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.AnimatedIcon.SetState(Windows.UI.Xaml.DependencyObject,System.String)
winrt method

Microsoft.UI.Xaml.Controls.AnimatedIcon.SetState(Windows.UI.Xaml.DependencyObject,System.String)

-description

Specifies the value of the AnimatedIcon.State attached property for the specified DependencyObject.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-parameters

-param object

The object for which the property value is specified.

-param value

The value of the AnimatedIcon.State attached property on the specified dependency object.

-remarks

You will typically not need to use GetState and SetState, you will just set the AnimatedIcon.State attached property.

-see-also

Animated icon overview, AnimatedIcon, AnimatedIcon.State

-examples