Back to Devexpress

BarShortcut Members

windowsforms-devexpress-dot-xtrabars-dot-barshortcut-dot-underscore-members.md

latest4.4 KB
Original Source

BarShortcut Members

Contains item shortcut settings.

Constructors

NameDescription
BarShortcut()Creates an instance of the BarShortcut class with default settings.
BarShortcut(BarShortcut)Creates an instance of the BarShortcut class using settings of the specified shortcut object.
BarShortcut(Keys, Keys)Creates a shortcut that consists of two key combinations.
BarShortcut(Keys)Creates an instance of the BarShortcut class with a predefined first key combination.
BarShortcut(Shortcut)Creates an instance of the BarShortcut class with a predefined first key combination.

Fields

NameDescription
Empty staticRepresents a null shortcut. (The BarShortcut.Key and BarShortcut.SecondKey properties of the returned BarShortcut object are set to Keys.None ).

Properties

NameDescription
DisplayStringGets or sets a custom display string for the shortcut.
IsExistGets a value indicating whether this BarShortcut instance specifies a valid shortcut.
KeyGets the first key combination of a sequence.
SecondKeyGets the second key combination in the sequence.

Methods

NameDescription
Equals(BarShortcut)Compares this BarShortcut with another and returns true if they are identical.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Returns a value indicating whether this BarShortcut instance is equal to the specified object.
GetHashCode()Returns a hash code for this BarShortcut instance.
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()Returns the string representation of this shortcut.

See Also

BarShortcut Class

DevExpress.XtraBars Namespace