Dela via


XamlUICommand.AccessKey Property

Definition

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 = xamlUICommand.accessKey;
xamlUICommand.accessKey = string;
Public Property AccessKey As String

Property Value

String

Platform::String

winrt::hstring

The access key (mnemonic) for this element.

Applies to

See also