DesktopTaskBarItemCollection
Wisej.Web.DesktopTaskBarItemCollection
Last updated
Was this helpful?
Wisej.Web.DesktopTaskBarItemCollection
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the collection of DesktopTaskBarItem controls in a Desktop control.
Initializes a new instance of the DesktopTaskBarItemCollection class.
owner
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.
Adds a DesktopTaskBarItem with the specified text to the collection.
text
Returns: DesktopTaskBarItem. A DesktopTaskBarItem that represents the item that was added to the collection.
Adds a DesktopTaskBarItem to the collection.
item
Returns: Int32. The zero-based index of the item in the collection.
Throws:
ArgumentNullException The DesktopTaskBarItem being added to the collection is null.
ArgumentException The parent of the DesktopTaskBarItem specified in the item parameter is not null.
Adds an array of DesktopTaskBarItem to the collection.
items
Removes all DesktopTaskBarItem objects from the collection.
Removes and optionally disposes all DesktopTaskBarItem objects from the collection.
dispose
Indicates whether the removed items should be disposed.
Determines whether the specified DesktopTaskBarItem is located within the collection.
button
Returns: Boolean. true if the DesktopTaskBarItem is located within the collection; otherwise, false.
Determines whether the collection contains a DesktopTaskBarItem with the specified key.
key
The name of the item to find in the collection.
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.
button
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.
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.
index
The zero-based index location where the panel is inserted.
button
Throws:
ArgumentNullException The button parameter is null.
ArgumentException The button parameter's parent is not null.
ArgumentOutOfRangeException The index parameter is less than zero or greater than the value of the Count property of the DesktopTaskBarItemCollection.
Removes the specified DesktopTaskBarItem from the collection.
item
Throws:
ArgumentNullException The DesktopTaskBarItem assigned to the item parameter is null.
Removes the DesktopTaskBarItem located at the specified index within the collection.
index
The zero-based index of the item to remove.
Throws:
ArgumentOutOfRangeException The index parameter is less than zero or greater than or equal to the value of the Count property of the DesktopTaskBarItemCollection.
Removes the DesktopTaskBarItem with the specified key from the collection.
key
The control that owns this collection.
The text for the that is being added.
A that represents the panel to add to the collection.
Array of objects to add to the collection.
The to locate in the collection.
The to locate in the collection.
The name of the to find in the collection.
A representing the panel to insert.
The representing the panel to remove from the collection.
The name of the to remove from the collection.