System.Windows.Forms.Label.UseMnemonic Property

Gets or sets a value indicating whether the control interprets an ampersand character (&) in the control's Control.Text property to be an access key prefix character.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool UseMnemonic { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the Label.UseMnemonic property is set to true and a mnemonic character (a character preceded by the ampersand) is defined in the Control.Text property of the System.Windows.Forms.Label, pressing ALT+ the mnemonic character sets the focus to the control that follows the System.Windows.Forms.Label in the tab order. You can use this property to provide proper keyboard navigation to the controls on your form.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0