Skip to main content
Version: 4.1

AccordionCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

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

public class AccordionCancelEventArgs : CancelEventArgs

Constructors

Instance member AccordionCancelEventArgs(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 member Action

AccordionAction: Returns a value indicating which event is occurring.

Instance member Panel

AccordionPanel: Returns the AccordionPanel the event is occurring for.

Instance member PanelIndex

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.