AutomationProperties.GetItemType(DependencyObject) AutomationProperties.GetItemType(DependencyObject) AutomationProperties.GetItemType(DependencyObject) AutomationProperties.GetItemType(DependencyObject) Method

Definition

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

public : static Platform::String GetItemType(DependencyObject element)
static winrt::hstring GetItemType(DependencyObject element) const;
public static string GetItemType(DependencyObject element)
Public Shared Function GetItemType(element As DependencyObject) As string

Parameters

Returns

string string

The item type of the element.