UIElement.AccessKey Property

Definition

Gets or sets the access key (mnemonic) for this element.

C#
public string AccessKey { get; set; }

Property Value

String

The access key (mnemonic) for this element.

Remarks

Setting this property enables the AccessKeyDisplayRequested event to be raised.

If the AutomationProperties.AccessKey attached property is not set, this property is used by the Automation framework instead. The value is used as case-insensitive, using the user language. It is used as text, so if an Input Method Editor (IME) is active the composed text is used.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also