_OlkLabel.Accelerator 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.
Returns or sets a String (string in C#) value that represents the accelerator or hot key for the control. Read/write.
public:
property System::String ^ Accelerator { System::String ^ get(); void set(System::String ^ value); };
public string Accelerator { get; set; }
Public Property Accelerator As String
Property Value
Remarks
The default value is an empty string, meaning there is no hot key. If the property is set with a string of more than one character, the value will be truncated to the first character.
You cannot use digits in an accelerator.
When the accelerator key for a label is pressed, the next control in the tab order receives the focus, not the label control.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應