-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Controls.AnimatedIcon.SetState(Windows.UI.Xaml.DependencyObject,System.String) |
winrt method |
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).
The object for which the property value is specified.
The value of the AnimatedIcon.State attached property on the specified dependency object.
You will typically not need to use GetState and SetState
, you will just set the AnimatedIcon.State attached property.