StatusBar.StatusBarPanelCollection

Wisej.Web.StatusBar StatusBarPanelCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the collection of StatusBarPanel controls in a StatusBar control.

public class StatusBarPanelCollection : IList, ICollection, IEnumerable

Properties

Boolean: Returns a value indicating whether this collection is read-only.

StatusBarPanel: Returns or sets the StatusBarPanel at the specified index.

StatusBarPanel: Returns the StatusBarPanel identified by the name.

Methods

Adds a StatusBarPanel with the specified text to the collection.

ParameterTypeDescription

text

The text for the StatusBarPanel that is being added.

Returns: StatusBarPanel. A StatusBarPanel that represents the panel that was added to the collection.

Adds a StatusBarPanel to the collection.

ParameterTypeDescription

panel

A StatusBarPanel that represents the panel to add to the collection.

Returns: Int32. The zero-based index of the item in the collection.

Throws:

Adds an array of StatusBarPanel to the collection.

ParameterTypeDescription

panels

Array of StatusBarPanel objects to add to the collection.

Removes all panels from the collection.

Removes and optionally disposes all StatusBarPanel objects from the collection.

ParameterTypeDescription

dispose

Indicates whether the removed StatusBarPanel objects should be disposed.

Determines whether the specified StatusBarPanel is located within the collection.

ParameterTypeDescription

panel

The StatusBarPanel to locate in the collection.

Returns: Boolean. true if the StatusBarPanel is located within the collection; otherwise, false.

Determines whether the collection contains a StatusBarPanel with the specified key.

ParameterTypeDescription

key

The name of the item to find in the collection.

Returns: Boolean. true to indicate the collection contains a StatusBarPanel with the specified key; otherwise, false.

Returns an enumerator to use to iterate through the StatusBarPanel objects in the collection.

Returns: IEnumerator. An IEnumerator that represents the item collection.

Returns the index within the collection of the specified StatusBarPanel.

ParameterTypeDescription

panel

The StatusBarPanel to locate in the collection.

Returns: Int32. The zero-based index where the StatusBarPanel is located within the collection; otherwise, negative one (-1).

Returns the index of the first occurrence of a StatusBarPanel with the specified key.

ParameterTypeDescription

key

The name of the StatusBarPanel to find in the collection.

Returns: Int32. The zero-based index of the first occurrence of the StatusBarPanel with the specified key, if found; otherwise, -1.

Inserts the specified StatusBarPanel into the collection at the specified index.

ParameterTypeDescription

index

The zero-based index location where the panel is inserted.

panel

A StatusBarPanel representing the panel to insert.

Throws:

Removes the specified StatusBarPanel from the collection.

ParameterTypeDescription

panel

The StatusBarPanel representing the panel to remove from the collection.

Throws:

Removes the StatusBarPanel located at the specified index within the collection.

ParameterTypeDescription

index

The zero-based index of the item to remove.

Throws:

Removes the StatusBarPanel with the specified key from the collection.

ParameterTypeDescription

key

The name of the StatusBarPanel to remove from the collection.

Last updated