Skip to main content

KeyShortcut.Equals(Object) Method

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

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