Udostępnij za pośrednictwem


AutomationProperties.AccessKeyProperty Property

Definition

Identifies the AutomationProperties.AccessKey attached property, which is a string containing the access key character for the automation element.

public:
 static property DependencyProperty ^ AccessKeyProperty { DependencyProperty ^ get(); };
static DependencyProperty AccessKeyProperty();
public static DependencyProperty AccessKeyProperty { get; }
var dependencyProperty = AutomationProperties.accessKeyProperty;
Public Shared ReadOnly Property AccessKeyProperty As DependencyProperty

Property Value

The identifier for the AutomationProperties.AccessKey attached property.

Remarks

An access key (sometimes called a mnemonic) is a character in the text of a menu, menu item, or label of a control such as a button, that activates the associated menu function. For example, to open the File menu, for which the access key is typically F, the user would press ALT+F.

Applies to