Share via


AutomationProperties.GetItemStatus(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.ItemStatus attached property for the specified DependencyObject.

public:
 static Platform::String ^ GetItemStatus(DependencyObject ^ element);
 static winrt::hstring GetItemStatus(DependencyObject const& element);
public static string GetItemStatus(DependencyObject element);
function getItemStatus(element)
Public Shared Function GetItemStatus (element As DependencyObject) As String

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

String

Platform::String

winrt::hstring

The item status of the element.

Applies to

See also