ToolStripTextBox::ShortcutsEnabled Property

 

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

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

public:
property bool ShortcutsEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true to enable the shortcuts; otherwise, false.

Use the ShortcutsEnabled property to enable or disable the following shortcut key combinations:

Shortcut keys

Shortcut keys

CTRL+Z

CTRL+E

CTRL+C

CTRL+I

CTRL+X

CTRL+Y

CTRL+V

CTRL+BACKSPACE

CTRL+A

CTRL+DELETE

CTRL+L

SHIFT+DELETE

CTRL+R

SHIFT+INSERT

You can override this property to specify other shortcut keys.

The following code example demonstrates the syntax for setting various ToolStripTextBox common property settings, including the ShortcutsEnabled property .

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: