BarShortcut.Equals(Object) Method
Returns a value indicating whether this BarShortcut instance is equal to the specified object.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| value | Object | An object to compare with this BarShortcut instance. |
Returns
| Type | Description |
|---|---|
| Boolean | true if the specified object is equal to this shortcut; otherwise false. |
Remarks
The method returns true if the following conditions are satisfied:
- The specified object can be converted to the BarShortcut type.
- The BarShortcut.Key and BarShortcut.SecondKey properties of compared objects coincide.
Note: if you want to compare two BarShortcut instances, you may use the ‘==‘ operator.
See Also