Skip to main content

KeyShortcut.IsExist Property

Tests whether the current shortcut specifies a valid key combination.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public virtual bool IsExist { get; }

Property Value

Type Description
Boolean

true if the current shortcut specifies a valid key combination; otherwise, false.

Remarks

The IsExist property returns false if the current shortcut is invalid and therefore the end-user cannot use it. This is the case when the KeyShortcut.Key property specifies a None value or if it only contains key modifiers (CONTROL, SHIFT or ALT).

Otherwise, the IsExist property returns true.

See Also