UIElement.AccessKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the access key (mnemonic) for this element.
public:
property Platform::String ^ AccessKey { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring AccessKey();
void AccessKey(winrt::hstring value);
public string AccessKey { get; set; }
var string = uIElement.accessKey;
uIElement.accessKey = string;
Public Property AccessKey As String
Property Value
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
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin