System.Windows.Forms.TextBoxBase.ShortcutsEnabled Property

Gets or sets a value indicating whether the defined shortcuts are enabled.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the TextBoxBase.ShortcutsEnabled property to enable or disable the following shortcut key combinations and the control’s shortcut menu:

  • CTRL+Z

  • CTRL+E

  • CTRL+C

  • CTRL+Y

  • CTRL+X

  • CTRL+BACKSPACE

  • CTRL+V

  • CTRL+DELETE

  • CTRL+A

  • SHIFT+DELETE

  • CTRL+L

  • SHIFT+INSERT

  • CTRL+R

You can override this property to specify other shortcut keys.

Note:

The System.Windows.Forms.TextBox control does not support the CTRL+A shortcut key when the TextBox.Multiline property value is true.

Requirements

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