Bewerken

Share via


AutomationProperties.GetItemType(DependencyObject) Method

Definition

Gets the ItemType attached property for the specified DependencyObject.

public:
 static System::String ^ GetItemType(System::Windows::DependencyObject ^ element);
public static string GetItemType (System.Windows.DependencyObject element);
static member GetItemType : System.Windows.DependencyObject -> string
Public Shared Function GetItemType (element As DependencyObject) As String

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

The ItemType of the given element.

Applies to

See also