DesktopTaskBarItemCollection

Wisej.Web.DesktopTaskBarItemCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Represents the collection of DesktopTaskBarItem controls in a Desktop control.

public class DesktopTaskBarItemCollection : IList, ICollection, IEnumerable

Constructors

Initializes a new instance of the DesktopTaskBarItemCollection class.

Properties

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

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

DesktopTaskBarItem: Returns the DesktopTaskBarItem identified by the name.

Methods

Adds a DesktopTaskBarItem with the specified text to the collection.

Returns: DesktopTaskBarItem. A DesktopTaskBarItem that represents the item that was added to the collection.

Adds a DesktopTaskBarItem to the collection.

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

Throws:

Adds an array of DesktopTaskBarItem to the collection.

Removes all DesktopTaskBarItem objects from the collection.

Removes and optionally disposes all DesktopTaskBarItem objects from the collection.

Determines whether the specified DesktopTaskBarItem is located within the collection.

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

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

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

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

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

Returns the index within the collection of the specified DesktopTaskBarItem.

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

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

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

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

Throws:

Removes the specified DesktopTaskBarItem from the collection.

Throws:

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

Throws:

Removes the DesktopTaskBarItem with the specified key from the collection.

Last updated