Skip to main content
Version: 3.5

AccordionCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the Selecting and Deselecting events of a Accordion control.

public class AccordionCancelEventArgs : CancelEventArgs

Constructors

Instance memberAccordionCancelEventArgs(panel, panelIndex, cancel, action)

Initializes a new instance of the AccordionCancelEventArgs class.

NameTypeDescription
panelAccordionPanelThe AccordionPanel the event is occurring for.
panelIndexInt32The zero-based index of panel in the Panels collection.
cancelBooleantrue to cancel the panel change by default; otherwise, false.
actionAccordionActionOne of the AccordionAction values.

Properties

Instance memberAction

AccordionAction: Returns a value indicating which event is occurring.

Instance memberPanel

AccordionPanel: Returns the AccordionPanel the event is occurring for.

Instance memberPanelIndex

Int32: Returns the zero-based index of the Panel in the Panels collection.

Used By

NameDescription
AccordionCancelEventHandlerRepresents the method that will handle the Selecting or Deselecting event of a Accordion control.