BarShortcut Members
Contains item shortcut settings.Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Empty static | Represents a null shortcut. (The BarShortcut.Key and BarShortcut.SecondKey properties of the returned BarShortcut object are set to Keys.None). |
Properties
| Name | Description |
|---|---|
| DisplayString | Gets or sets a custom display string for the shortcut. |
| IsExist | Gets a value indicating whether this BarShortcut instance specifies a valid shortcut. |
| Key | Gets the first key combination of a sequence. |
| SecondKey | Gets the second key combination in the sequence. |
Methods
| Name | Description |
|---|---|
| Equals(BarShortcut) | Compares this BarShortcut with another and returns true if they are identical. |
| Equals(Object, Object) static | Determines 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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns the string representation of this shortcut. |
See Also