Back to Devexpress

KeyShortcut Members

windowsforms-devexpress-dot-utils-dot-keyshortcut-dot-underscore-members.md

latest4.2 KB
Original Source

KeyShortcut Members

A class used by various controls to provide shortcut keys.

Constructors

NameDescription
KeyShortcut()Creates an instance of the KeyShortcut class and sets the shortcut to the None value.
KeyShortcut(Keys)Creates an instance of the KeyShortcut class with the specified shortcut.
KeyShortcut(Shortcut)Creates an instance of the KeyShortcut class with the specified shortcut.

Fields

NameDescription
Empty staticGets the static KeyShortcut object whose KeyShortcut.Key property is set to None.

Properties

NameDescription
AltKeyName staticGets the name of the ALT key which is dependent upon the end-user’s regional settings.
ControlKeyName staticGets the name of the CONTROL key which is dependent upon the end-user’s regional settings.
IsExistTests whether the current shortcut specifies a valid key combination.
KeyGets the shortcut used to activate particular functionality.
ShiftKeyName staticGets the name of the SHIFT key which is dependent upon the end-user’s regional settings.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Tests whether the shortcuts of the current and specified KeyShortcut objects are identical.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current object.
GetKeyDisplayText(Keys) staticReturns the text representation of the specified System.Windows.Forms.Keys object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Gets the text representation of the current shortcut.

See Also

KeyShortcut Class

DevExpress.Utils Namespace