TextBoxBase.ShortcutsEnabled 属性

定义

获取或设置一个值,该值指示是否启用已定义的快捷方式。Gets or sets a value indicating whether the defined shortcuts are enabled.

public:
 virtual property bool ShortcutsEnabled { bool get(); void set(bool value); };
public virtual bool ShortcutsEnabled { get; set; }
member this.ShortcutsEnabled : bool with get, set
Public Overridable Property ShortcutsEnabled As Boolean

属性值

如果启用快捷方式,则为 true;否则为 falsetrue to enable the shortcuts; otherwise, false.

注解

ShortcutsEnabled使用属性可以启用或禁用以下快捷组合键和控件的快捷菜单:Use the ShortcutsEnabled property to enable or disable the following shortcut key combinations and the control's shortcut menu:

  • Ctrl+ZCTRL+Z

  • Ctrl+ECTRL+E

  • Ctrl+CCTRL+C

  • Ctrl+YCTRL+Y

  • Ctrl+XCTRL+X

  • Ctrl+BackspaceCTRL+BACKSPACE

  • Ctrl+VCTRL+V

  • Ctrl+DeleteCTRL+DELETE

  • Ctrl+ACTRL+A

  • SHIFT + DELETESHIFT+DELETE

  • Ctrl+LCTRL+L

  • SHIFT + INSERTSHIFT+INSERT

  • Ctrl+RCTRL+R

可以重写此属性以指定其他快捷键。You can override this property to specify other shortcut keys.

适用于