Accordion.PanelCollection
Wisej.Web.Accordion PanelCollection
Last updated
Wisej.Web.Accordion PanelCollection
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.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.
panel
Throws:
ArgumentNullException The specified panel is null.
Creates a AccordionPanel with the specified text, and adds it to the collection.
text
The text to display on the panel.
Creates a AccordionPanel with the specified key and text and adds it to the collection.
key
text
Creates a AccordionPanel with the specified key, text, and image, and adds it to the collection.
key
text
imageIndex
Creates a AccordionPanel with the specified key, text, and image, and adds it to the collection.
key
text
imageKey
Adds a set of AccordionPanel panels to the collection.
panels
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.
dispose
Determines whether a specified AccordionPanel is in the collection.
panel
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.
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.
array
index
The zero-based index in the array at which copying begins.
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.
panel
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.
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.
index
panel
Creates a new AccordionPanel with the specified text and inserts it into the collection at the specified index.
index
text
Creates a new AccordionPanel with the specified key and text, and inserts it into the collection at the specified index.
index
key
text
Creates a new AccordionPanel with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
text
imageIndex
Creates a AccordionPanel with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
text
imageKey
Removes the AccordionPanel from the collection.
panel
Throws:
ArgumentNullException The panel parameter is null.
Removes the AccordionPanel at the specified index from the collection.
index
Removes the AccordionPanel with the specified key from the collection.
key
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.