AutomationProperties.GetAccessKey(DependencyObject) AutomationProperties.GetAccessKey(DependencyObject) AutomationProperties.GetAccessKey(DependencyObject) AutomationProperties.GetAccessKey(DependencyObject) Method

Definition

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

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

Parameters

Returns

string string

The access key, as a string.