Edit

Share via


AutomationProperties.GetAccessKey(DependencyObject) Method

Definition

Gets the AccessKey attached property for the specified DependencyObject.

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

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

The access key for the specified element.

Applies to

See also