Share via


AnimatedIcon.GetState(DependencyObject) Method

Definition

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

public:
 static Platform::String ^ GetState(DependencyObject ^ object);
 static winrt::hstring GetState(DependencyObject const& object);
public static string GetState(DependencyObject object);
function getState(object)
Public Shared Function GetState (object As DependencyObject) As String

Parameters

object
DependencyObject

The object from which the property value is retrieved.

Returns

String

Platform::String

winrt::hstring

The current 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.

Applies to

See also