Delen via


TextElement.AccessKey Property

Definition

Gets or sets the access key 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 = textElement.accessKey;
textElement.accessKey = string;
Public Property AccessKey As String

Property Value

String

Platform::String

winrt::hstring

The access key for this element.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to