Accordion
Wisej.Web.Accordion
Last updated
Wisej.Web.Accordion
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Displays collapsible set of AccordionPanel panels for presenting information in a limited amount of space.
Initializes a new instance of the Accordion class.
Initializes a new instance of the Accordion class with the specified settings.
Name | Type | Description |
---|---|---|
Initializes a new instance of the Accordion class with the specified settings.
Initializes a new instance of the Accordion class with the specified settings.
BorderStyle: Returns or sets the type of border that is drawn around the Accordion panel. (Default: Solid
)
Boolean: Returns or sets a value indicating whether the Accordion control collapses when all the AccordionPanel children are collapsed. (Default: False
)
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.
Int32: Returns or sets the size of the header. When the header is horizontal, the size if the height; when it's vertical, the size if the width. Set it to -1 to reset to the size set in the current theme.
ImageList: Returns or sets the images to display on the panel's title bar. (Default: null
)
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. (Default: -1
)
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. (Default: False
)
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. (Default: True
)
Makes the AccordionPanel following the AccordionPanel with the specified index the current panel.
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.
Throws:
ArgumentNullException panel is null.
Makes the AccordionPanel following the AccordionPanel the specified name the current panel.
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.
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.
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.
Throws:
ArgumentNullException panel is null.
Makes AccordionPanel with the specified name the current AccordionPanel.
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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
location
The location of the panel on its parent control.
size
The size of the panel.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.
location
The location of the panel on its parent control.
size
The size of the panel.
panels
An array of AccordionPanel objects to be added to the panel.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.
index
The index in the Panels collection of the AccordionPanel to deselect.
panel
The AccordionPanel to deselect.
panelName
The Name of the panel to deselect.
index
The index of the AccordionPanel to get.
index
The index in the Panels collection of the tab to select.
panel
The AccordionPanel to select.
panelName
The Name of the tab to select.
Bindable components implement this interface.
Controls that support drag & drop operations 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.
panels
An array of AccordionPanel objects to be added to the panel.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.