AccessText.AccessKey 屬性

定義

提供唯讀存取第一個底線字元之後的字元。Provides read-only access to the character that follows the first underline character.

public:
 property char AccessKey { char get(); };
public char AccessKey { get; }
member this.AccessKey : char
Public ReadOnly Property AccessKey As Char

屬性值

Char

要傳回的字元。The character to return.

備註

使用 AccessKey 屬性,以程式設計方式判斷由剖析的字元 AccessTextUse the AccessKey property to programmatically determine which character is parsed by AccessText.

會在 AccessKeyManager AccessKey AccessKeyPressed 使用者按下按鍵時,註冊該字元並引發事件。The AccessKeyManager registers the AccessKey character and raises the AccessKeyPressed event when users press the key.

適用於