MenuItem.Mnemonic 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 a value indicating the mnemonic character that is associated with this menu item.
public:
property char Mnemonic { char get(); };
[System.ComponentModel.Browsable(false)]
public char Mnemonic { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Mnemonic : char
Public ReadOnly Property Mnemonic As Char
Property Value
A character that represents the mnemonic character associated with this menu item. Returns the NUL character (ASCII value 0) if no mnemonic character is specified in the text of the MenuItem.
- Attributes
Remarks
The mnemonic character is the first character after an ampersand character (&) in the text of the MenuItem. This property will not return a mnemonic if two ampersand characters are placed together as the ampersands are used to display an ampersand in the text of the MenuItem instead of defining a mnemonic character.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για