Redigera

Dela via


AutomationProperties.GetName(DependencyObject) Method

Definition

Gets the Name attached property for the specified DependencyObject.

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

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

The name of the specified element.

Applies to

See also