ShortcutItemClickEventArgs.Cancel Property
Gets or sets whether to stop processing a pressed shortcut and so stop the bar item’s functionality from being invoked.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true if processing of the shortcut should be canceled; otherwise, false. |
#Remarks
Set the Cancel parameter to true to cancel processing of a shortcut and therefore prevent the item’s functionality from being invoked. This can be useful, for instance, if the shortcut should be directed to the currently focused control and not intercepted by the BarManager.
Otherwise, the Bar Manager will invoke the item’s functionality and the currently focused control on your form will not receive key presses.
See the BarManager.ShortcutItemClick event for more information.