NavBarGroupCancelEventArgs.Cancel Property
Gets or sets a value indicating whether the command which raised an event should be canceled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
The NavBarGroupCancelEventArgs object is passed to events that fire before specific initiated actions are completed. The Cancel property of this object enables you to cancel the action which is about to be performed.
For instance, this property is useful when you handle a group’s ASPxNavBar.ExpandedChanging event. Set this property to true
to cancel the expanding or collapsing of the processed group. This can be used if you want to prohibit group expanding/collapsing with respect to specific conditions.