A newer version of this page is available. Switch to the current version.

KeyShortcut.Equals(Object) Method

Tests whether the shortcuts of the current and specified KeyShortcut objects are identical.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public override bool Equals(
    object value
)

Parameters

Name Type Description
value Object

The object representing the KeyShortcut object.

Returns

Type Description
Boolean

true if the function parameter represents a KeyShortcut object and its shortcut is equal to the shortcut of the current object; otherwise, false.

Remarks

The function returns true if the value parameter represents a KeyShortcut object and its shortcut equals to the shortcut of the current object. Otherwise, the function returns false.

See Also