Bar

BarShortcut.IsExist Property

Gets a value indicating whether this BarShortcut instance specifies a valid shortcut.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public virtual bool IsExist { get; }
<Browsable(False)>
Public Overridable ReadOnly Property IsExist As Boolean

Property Value

Type Description
Boolean

true if this BarShortcut instance specifies a valid shortcut; otherwise false.

Remarks

A shortcut is valid if the following conditions are satisfied:

  • The BarShortcut.Key property value must have a value different from Keys.None. (If the BarShortcut.SecondKey property value is Keys.None only the first key combination is used as the shortcut).
  • The BarShortcut.Key property value must not be a modifier key or a bitwise combination of modifier keys.
See Also