Accordion.PanelCollection

Wisej.Web.Accordion PanelCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Contains a collection of AccordionPanel objects.

public class PanelCollection : IList, ICollection, IEnumerable, IList<AccordionPanel>, ICollection<AccordionPanel>, IEnumerable<AccordionPanel>

Properties

Int32: Returns the number of panels in the collection.

AccordionPanel: Returns or sets a AccordionPanel in the collection at the specified index.

Throws:

AccordionPanel: Returns the AccordionPanel with the specified key from the collection.

Methods

Adds a AccordionPanel to the collection.

Throws:

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:

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:

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:

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:

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:

Removes the AccordionPanel at the specified index from the collection.

Removes the AccordionPanel with the specified key from the collection.

Last updated