BootstrapAccordion.ExpandedChanging Event

Fires on the server side before the expansion state of a group is changed.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.1.dll

Declaration

public event BootstrapAccordionGroupCancelEventHandler ExpandedChanging
Public Event ExpandedChanging As BootstrapAccordionGroupCancelEventHandler

Event Data

The ExpandedChanging event's data class is BootstrapAccordionGroupCancelEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the command which raised an event should be canceled. Inherited from NavBarGroupCancelEventArgs.
Group Gets a group for which the event is fired.

Remarks

Write an ExpandedChanging event handler to perform specific actions on the server side before each time a group's expansion state is changed. You can use the event parameter's properties to identify the group being manipulated and cancel execution of the command if necessary.

See Also