AutomationProperties.GetName(DependencyObject) AutomationProperties.GetName(DependencyObject) AutomationProperties.GetName(DependencyObject) AutomationProperties.GetName(DependencyObject) Method

Definition

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

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

Parameters

Returns

string string

The name of the specified element.