XtraTabControl.UseMnemonic Property
Gets or sets whether mnemonic characters are used to activate tab pages.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool UseMnemonic { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if mnemonic characters are used to activate tab pages; otherwise, false. |
Remarks
The XtraTabPage.Text property specifies the caption for the tab page. Tab page captions can contain mnemonic characters. These are underlined characters that allow an end-user to activate a tab page (see XtraTabControl.SelectedTabPage) using the corresponding keyboard shortcut (Alt + mnemonic character). In the figure below, you can see two tab pages which contain mnemonic characters in their captions.
For a character in the caption to be mnemonic, it should be preceded by an ampersand. See the code snippet below.
If defined in captions, mnemonics are enabled by default. Set the UseMnemonic property to false to disable this feature.