Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.AccordionEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the Selected and Deselected events of a Accordion control.
Initializes a new instance of the AccordionEventArgs class.
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.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Represents the method that will handle the or event of a control.
Name | Type | Description |
---|
Name | Description |
---|
Represents the method that will handle the or event of a control.
Name | Type | Description |
---|
Name | Description |
---|
Contains a collection of objects.
: Returns the number of panels in the collection.
: Returns or sets a in the collection at the specified index.
index is less than zero or greater than the highest available index.
value is null.
: Returns the with the specified key from the collection.
Adds a to the collection.
Parameter | Type | Description |
---|
The specified panel is null.
Creates a with the specified text, and adds it to the collection.
Parameter | Type | Description |
---|
Creates a with the specified key and text and adds it to the collection.
Parameter | Type | Description |
---|
Creates a with the specified key, text, and image, and adds it to the collection.
Parameter | Type | Description |
---|
Creates a with the specified key, text, and image, and adds it to the collection.
Parameter | Type | Description |
---|
Adds a set of panels to the collection.
Parameter | Type | Description |
---|
The value of panels is null.
Removes all the panels from the collection.
Removes and disposes all panels from the collection.
Parameter | Type | Description |
---|
Determines whether a specified is in the collection.
Parameter | Type | Description |
---|
Returns: . true if the specified is in the collection; otherwise, false.
The value of panel is null.
Determines whether the collection contains a with the specified key.
Parameter | Type | Description |
---|
Returns: . true to indicate a with the specified key was found in the collection; otherwise, false.
Copies the panels in the collection to the specified array, starting at the specified index.
Parameter | Type | Description |
---|
array is null.
array is less than zero.
array is multidimensional or the number of elements in the is greater than the available space from index to the end of array .
Returns the index of the in the collection.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the panel; -1 if it cannot be found.
The value of panel is null.
Returns the index of the first occurrence of the with the specified key.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first occurrence of a with the specified key, if found; otherwise, -1.
Inserts an existing into the collection at the specified index.
Parameter | Type | Description |
---|
Creates a new with the specified text and inserts it into the collection at the specified index.
Parameter | Type | Description |
---|
Creates a new with the specified key and text, and inserts it into the collection at the specified index.
Parameter | Type | Description |
---|
Creates a new with the specified key, text, and image, and inserts it into the collection at the specified index.
Parameter | Type | Description |
---|
Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.
Parameter | Type | Description |
---|
Removes the from the collection.
Parameter | Type | Description |
---|
The panel parameter is null.
Removes the at the specified index from the collection.
Parameter | Type | Description |
---|
Removes the with the specified key from the collection.
Parameter | Type | Description |
---|
Defines values representing events.
Name | Description |
---|
Name | Description |
---|
Displays collapsible set of panels for presenting information in a limited amount of space.
Initializes a new instance of the class.
: Returns or sets the type of border that is drawn around the panel. (Default: Solid
)
: Returns or sets a value indicating whether the Accordion control collapses when all the children are collapsed. (Default: False
)
: Returns the rectangle that represents the virtual display area of the control.
: 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.
: Returns or sets the images to display on the panel's title bar. (Default: null
)
: Returns the number of panels in the container.
: Returns the collection of panels in the container.
: Returns or sets the index of the currently selected panel. (Default: -1
)
The value is less than -1.
: Returns or sets a value indicating whether the selected panel is moved to the top of the container. (Default: False
)
: Returns or sets the currently selected panel.
: Returns or sets whether a panel's ToolTip is shown when the mouse passes over the panel's title. (Default: True
)
Makes the following the with the specified index the current panel.
Parameter | Type | Description |
---|
index is less than 0 or greater than the number of controls in the collection minus 1.
Makes the following the specified the current panel.
Parameter | Type | Description |
---|
panel is null.
Makes the following the the specified name the current panel.
Parameter | Type | Description |
---|
panelName is null; or panelName does not match the property of any in the collection.
Returns the panel at the specified location.
Parameter | Type | Description |
---|
Returns: . The at the specified location.
index is less than 0 or greater than the number of controls in the collection minus 1.
Makes the specified the current .
Parameter | Type | Description |
---|
panel is null.
Makes with the specified name the current .
Parameter | Type | Description |
---|
panelName is null; or panelName does not match the property of any in the collection.
Makes the with the specified index the current .
Parameter | Type | Description |
---|
index is less than 0 or greater than the number of controls in the collection minus 1.
Fired when a panel is deselected.
Occurs before a panel is deselected, enabling a handler to cancel the panel change.
Fired when a panel is selected.
Fired when the property has changed.
Occurs before a panel is selected, enabling a handler to cancel the panel change.
Name | Description |
---|
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.
Name | Type | Description |
---|
: Returns the parent control.
: Returns whether the is collapsed. (Default: False
)
: Returns or sets a value indicating that the panel can show the expand button on the title bar. (Default: True
)
: Returns or sets the text to display as the title of the . (Default: ""
)
: Returns the instance of associated with this control.
Retrieves the panel that contains the specified .
Parameter | Type | Description |
---|
Returns: . The that contains the specified , or null if it cannot be found.
Name | Description |
---|
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.
: Returns the the event is occurring for.
: Returns the zero-based index of the in the collection.
Name | Description |
---|
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.
Represents the method that will handle the Selected or Deselected event of a Accordion control.
sender | The source of the event. |
e |
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. |
sender | The source of the event. |
e |
Fired when a panel is selected. |
Fired when a panel is deselected. |
panel |
text | The text to display on the panel. |
key |
text |
key |
text |
imageIndex |
key |
text |
imageKey |
panels |
dispose |
panel |
key |
array |
index | The zero-based index in the array at which copying begins. |
panel |
key |
index |
panel |
index |
text |
index |
key |
text |
index |
key |
text |
imageIndex |
index |
key |
text |
imageKey |
panel |
index |
key |
Deselected |
Deselecting |
Selected |
Selecting |
Returns a value indicating which event is occurring. |
Returns a value indicating which event is occurring. |
index |
panel |
panelName |
index |
panel |
panelName |
index |
Bindable components implement this interface. |
Controls that support drag & drop operations implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
text | The text for the tab. |
control |
Bindable components implement this interface. |
Controls that support drag & drop operations implement this interface. |
Provides access to common image properties across the controls that implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
panel |
panelIndex |
cancel | true to cancel the panel change by default; otherwise, false. |
action |
A that contains the event data.
A that contains the event data.
The to add.
The name of the .
The text to display on the title of .
The name of the .
The text to display on the .
The index of the image to display on the title of the .
The name of the .
The text to display on the .
The key of the image to display on the title of the .
An array of type that contains the panels to add.
Indicates whether to dispose the panels removed from the collection.
The to locate in the collection.
The name of the to search for.
The one-dimensional array that is the destination of the panels copied from the collection. The array must have zero-based indexing.
The to locate in the collection.
The name of the to find in the collection.
The zero-based index location where the is inserted.
The to insert in the collection.
The zero-based index location where the is inserted.
The text to display in the .
The zero-based index location where the is inserted.
The name of the .
The text to display on the .
The zero-based index location where the is inserted
The name of the .
The text to display on the .
The zero-based index of the image to display on the .
The zero-based index location where the is inserted.
The name of the .
The text to display on the .
The key of the image to display on the .
The to remove.
The zero-based index of the to remove.
The name of the to remove.
Represents the event.
Represents the event.
Represents the event.
Represents the event.
The index in the collection of the to deselect.
The to deselect.
The of the panel to deselect.
The index of the to get.
The to select.
The of the tab to select.
The index in the collection of the tab to select.
All wisej controls derived from the class must implement this interface.
The to look for.
All wisej controls derived from the class must implement this interface.
The the event is occurring for.
The zero-based index of panel in the collection.
One of the values.
Represents the method that will handle the or event of a control.