Wisej.Web.AccordionAction
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Defines values representing Accordion events.
public enum AccordionAction : EnumPublic Enum AccordionAction As [Enum]Deselected
Represents the Deselected event.
Deselecting
Represents the Deselecting event.
Selected
Represents the Selected event.
Selecting
Represents the Selecting event.
Returns a value indicating which event is occurring.
Returns a value indicating which event is occurring.
Wisej.Web.AccordionCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides data for the Selecting and Deselecting events of a Accordion control.
public class AccordionCancelEventArgs : CancelEventArgsPublic Class AccordionCancelEventArgs
Inherits CancelEventArgsInitializes a new instance of the class.
: Returns a value indicating which event is occurring.
: Returns the the event is occurring for.
: Returns the zero-based index of the in the collection.
Wisej.Web.AccordionEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the method that will handle the Selected or Deselected event of a Accordion control.
public delegate void AccordionEventHandler(Object sender, AccordionEventArgs e)Public Delegate Sub AccordionEventHandler(ByVal sender As [Object], ByVal e As AccordionEventArgs)sender
The source of the event.
e
A AccordionEventArgs that contains the event data.
Fired when a panel is selected.
Fired when a panel is deselected.
One of the values.
panel
The AccordionPanel the event is occurring for.
panelIndex
The zero-based index of panel in the Panels collection.
cancel
true to cancel the panel change by default; otherwise, false.
Represents the method that will handle the Selecting or Deselecting event of a Accordion control.
action
Initializes a new instance of the AccordionEventArgs class.
panel
The the event is occurring for.
panelIndex
The zero-based index of panel in the collection.
action
One of the values.
AccordionAction: Returns a value indicating which event is occurring.
AccordionPanel: Returns the AccordionPanel the event is occurring for.
Represents the method that will handle the or event of a control.
Public Class AccordionEventArgs
Inherits EventArgspublic class AccordionEventArgs : EventArgsWisej.Web.AccordionPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a panel in a control.
Initializes a new instance of the class.
Initializes a new instance of the class and specifies the text to display as the title of the panel.
: Returns the parent control.
: Returns whether the is collapsed.
: Returns or sets a value indicating that the panel can show the expand button on the title bar.
: Returns or sets the text to display as the title of the .
: Returns the instance of associated with this control.
Retrieves the panel that contains the specified .
Returns: . The that contains the specified , or null if it cannot be found.
Overridden to update the parent Accordion when in design mode.
text
The text for the tab.
control
The Control to look for.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Public Class AccordionPanel
Inherits Panelpublic class AccordionPanel : PanelWisej.Web.Accordion
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Displays collapsible set of panels for presenting information in a limited amount of space.
public class Accordion : Control, ISupportInitializePublic Class Accordion
Inherits Control
Implements ISupportInitializeInitializes a new instance of the Accordion class.
BorderStyle: Returns or sets the type of border that is drawn around the Accordion panel.
Boolean: Returns or sets a value indicating whether the Accordion control collapses when all the AccordionPanel children are collapsed.
When this property is set to false (default) one panel is always expanded.
Rectangle: Returns the rectangle that represents the virtual display area of the control.
ImageList: Returns or sets the images to display on the panel's title bar.
Int32: Returns the number of panels in the container.
PanelCollection: Returns the collection of panels in the container.
Int32: Returns or sets the index of the currently selected panel.
Throws:
ArgumentOutOfRangeException The value is less than -1.
Boolean: Returns or sets a value indicating whether the selected panel is moved to the top of the Accordion container.
AccordionPanel: Returns or sets the currently selected panel.
Boolean: Returns or sets whether a panel's ToolTip is shown when the mouse passes over the panel's title.
Makes the AccordionPanel following the AccordionPanel with the specified index the current panel.
index
The index in the collection of the to deselect.
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.
Makes the AccordionPanel following the specified AccordionPanel the current panel.
panel
The to deselect.
Throws:
ArgumentNullException panel is null.
Makes the AccordionPanel following the AccordionPanel the specified name the current panel.
panelName
The of the panel to deselect.
Throws:
ArgumentNullException panelName is null; or panelName does not match the Name property of any AccordionPanel in the Panels collection.
Returns the AccordionPanel panel at the specified location.
index
The index of the to get.
Returns: Control. The AccordionPanel at the specified location.
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.
Makes the AccordionPanel with the specified index the current AccordionPanel.
index
The index in the collection of the tab to select.
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.
Makes the specified AccordionPanel the current AccordionPanel.
panel
The to select.
Throws:
ArgumentNullException panel is null.
Makes AccordionPanel with the specified name the current AccordionPanel.
panelName
The of the tab to select.
Throws:
ArgumentNullException panelName is null; or panelName does not match the Name property of any AccordionPanel in the Panels collection.
AccordionEventHandler Fired when a panel is deselected.
AccordionCancelEventHandler Occurs before a panel is deselected, enabling a handler to cancel the panel change.
AccordionEventHandler Fired when a panel is selected.
EventHandler Fired when the SelectedIndex property has changed.
AccordionCancelEventHandler Occurs before a panel is selected, enabling a handler to cancel the panel change.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the class must implement this interface.
Allows an object to serialize itself.
Wisej.Web.AccordionCancelEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the method that will handle the Selecting or Deselecting event of a Accordion control.
public delegate void AccordionCancelEventHandler(Object sender, AccordionCancelEventArgs e)Public Delegate Sub AccordionCancelEventHandler(ByVal sender As [Object], ByVal e As AccordionCancelEventArgs)sender
The source of the event.
e
A AccordionCancelEventArgs that contains the event data.
Occurs before a panel is selected, enabling a handler to cancel the panel change.
Occurs before a panel is deselected, enabling a handler to cancel the panel change.