AccordionCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Selecting and Deselecting events of a Accordion control.
- C#
- VB.NET
public class AccordionCancelEventArgs : CancelEventArgs
Public Class AccordionCancelEventArgs
Inherits CancelEventArgs
Constructors
AccordionCancelEventArgs(panel, panelIndex, cancel, action)
Initializes a new instance of the AccordionCancelEventArgs class.
| Name | Type | Description |
|---|---|---|
| panel | AccordionPanel | The AccordionPanel the event is occurring for. |
| panelIndex | Int32 | The zero-based index of panel in the Panels collection. |
| cancel | Boolean | true to cancel the panel change by default; otherwise, false. |
| action | AccordionAction | One of the AccordionAction values. |
Properties
Action
AccordionAction: Returns a value indicating which event is occurring.
Panel
AccordionPanel: Returns the AccordionPanel the event is occurring for.
PanelIndex
Int32: Returns the zero-based index of the Panel in the Panels collection.
Used By
| Name | Description |
|---|---|
| AccordionCancelEventHandler | Represents the method that will handle the Selecting or Deselecting event of a Accordion control. |