Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.Accordion
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.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.
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.
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.
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.
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.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
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.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Wisej.Web.AccordionEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the Selected or Deselected event of a Accordion control.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.AccordionPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a panel in a Accordion control.
Initializes a new instance of the AccordionPanel class.
Initializes a new instance of the AccordionPanel class and specifies the text to display as the title of the panel.
Name | Type | Description |
---|---|---|
Accordion: Returns the parent Accordion control.
Boolean: Returns whether the AccordionPanel is collapsed.
Boolean: Returns or sets a value indicating that the panel can show the expand button on the title bar.
String: Returns or sets the text to display as the title of the AccordionPanel.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Retrieves the panel that contains the specified Control.
Returns: AccordionPanel. The AccordionPanel that contains the specified Control, or null if it cannot be found.
Overridden to update the parent Accordion when in design mode.
Wisej.Web.Accordion PanelCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Contains a collection of AccordionPanel objects.
Int32: Returns the number of panels in the collection.
AccordionPanel: Returns or sets a AccordionPanel in the collection at the specified index.
Throws:
ArgumentOutOfRangeException index is less than zero or greater than the highest available index.
ArgumentNullException value is null.
AccordionPanel: Returns the AccordionPanel with the specified key from the collection.
Adds a AccordionPanel to the collection.
Throws:
ArgumentNullException The specified panel is null.
Creates a AccordionPanel with the specified text, and adds it to the collection.
Creates a AccordionPanel with the specified key and text and adds it to the collection.
Creates a AccordionPanel with the specified key, text, and image, and adds it to the collection.
Creates a AccordionPanel with the specified key, text, and image, and adds it to the collection.
Adds a set of AccordionPanel panels to the collection.
Throws:
ArgumentNullException The value of panels is null.
Removes all the AccordionPanel panels from the collection.
Removes and disposes all AccordionPanel panels from the collection.
Determines whether a specified AccordionPanel is in the collection.
Returns: Boolean. true if the specified AccordionPanel is in the collection; otherwise, false.
Throws:
ArgumentNullException The value of panel is null.
Determines whether the collection contains a AccordionPanel with the specified key.
Returns: Boolean. true to indicate a AccordionPanel with the specified key was found in the collection; otherwise, false.
Copies the AccordionPanel panels in the collection to the specified array, starting at the specified index.
Throws:
ArgumentNullException array is null.
ArgumentOutOfRangeException array is less than zero.
ArgumentException array is multidimensional or the number of elements in the Panels is greater than the available space from index to the end of array .
Returns the index of the AccordionPanel in the collection.
Returns: Int32. The zero-based index of the panel; -1 if it cannot be found.
Throws:
ArgumentNullException The value of panel is null.
Returns the index of the first occurrence of the AccordionPanel with the specified key.
Returns: Int32. The zero-based index of the first occurrence of a AccordionPanel with the specified key, if found; otherwise, -1.
Inserts an existing AccordionPanel into the collection at the specified index.
Creates a new AccordionPanel with the specified text and inserts it into the collection at the specified index.
Creates a new AccordionPanel with the specified key and text, and inserts it into the collection at the specified index.
Creates a new AccordionPanel with the specified key, text, and image, and inserts it into the collection at the specified index.
Creates a AccordionPanel with the specified key, text, and image, and inserts it into the collection at the specified index.
Removes the AccordionPanel from the collection.
Throws:
ArgumentNullException The panel parameter is null.
Removes the AccordionPanel at the specified index from the collection.
Removes the AccordionPanel with the specified key from the collection.
Wisej.Web.AccordionEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the Selected and Deselected events of a Accordion control.
Initializes a new instance of the AccordionEventArgs class.
Name | Type | Description |
---|---|---|
AccordionAction: Returns a value indicating which event is occurring.
AccordionPanel: Returns the AccordionPanel the event is occurring for.
Int32: Returns the zero-based index of the Panel in the Panels collection.
Wisej.Web.AccordionCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the and events of a control.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns a value indicating which event is occurring.
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | 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 |
---|---|
: Returns the the event is occurring for.
: Returns the zero-based index of the in the collection.
Name | Description |
---|
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.
control
The Control to look for.
Bindable components implement this interface.
Provides access to common image properties across the controls that 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.
panel
The AccordionPanel to add.
text
The text to display on the panel.
key
The name of the AccordionPanel.
text
The text to display on the title of AccordionPanel.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageIndex
The index of the image to display on the title of the AccordionPanel.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageKey
The key of the image to display on the title of the AccordionPanel.
panels
An array of type AccordionPanel that contains the panels to add.
dispose
Indicates whether to dispose the AccordionPanel panels removed from the collection.
panel
The AccordionPanel to locate in the collection.
key
The name of the AccordionPanel to search for.
array
The one-dimensional array that is the destination of the AccordionPanel panels copied from the collection. The array must have zero-based indexing.
index
The zero-based index in the array at which copying begins.
panel
The AccordionPanel to locate in the collection.
key
The name of the AccordionPanel to find in the collection.
index
The zero-based index location where the AccordionPanel is inserted.
panel
The AccordionPanel to insert in the collection.
index
The zero-based index location where the AccordionPanel is inserted.
text
The text to display in the AccordionPanel.
index
The zero-based index location where the AccordionPanel is inserted.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
index
The zero-based index location where the AccordionPanel is inserted
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageIndex
The zero-based index of the image to display on the AccordionPanel.
index
The zero-based index location where the AccordionPanel is inserted.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageKey
The key of the image to display on the AccordionPanel.
panel
The AccordionPanel to remove.
index
The zero-based index of the AccordionPanel to remove.
key
The name of the AccordionPanel to remove.
Represents the method that will handle the Selected or Deselected event of a Accordion control.
text
The text for the tab.
panel
The AccordionPanel the event is occurring for.
panelIndex
The zero-based index of panel in the Panels collection.
action
One of the AccordionAction values.
panel |
panelIndex |
cancel | true to cancel the panel change by default; otherwise, false. |
action |
Deselected | Represents the event. |
Deselecting | Represents the event. |
Selected | Represents the event. |
Selecting | Represents the event. |
Returns a value indicating which event is occurring. |
Returns a value indicating which event is occurring. |
sender | The source of the event. |
e | A 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. |
Represents the method that will handle the or event of a control.
The the event is occurring for.
The zero-based index of panel in the collection.
One of the values.