BootstrapListEditItemCollection Members

Represents the collection of list items.

Constructors

Name Description
BootstrapListEditItemCollection()

Initializes a new instance of the BootstrapListEditItemCollection class with default settings.

BootstrapListEditItemCollection(IWebControlObject)

Initializes a new instance of the BootstrapListEditItemCollection class with the specified owner.

Properties

Name Description
Count Gets the number of items contained within the collection.
(Inherited from StateManagedCollectionBase)
IsEmpty Gets a value indicating whether the collection is empty.
(Inherited from StateManagedCollectionBase)
Item[Int32]

Provides indexed access to individual items within the BootstrapListEditItemCollection.

Owner Gets or sets the collection's owner.
(Inherited from Collection)

Methods

Name Description
Add()

Adds a new item to the collection and returns the newly created item object.

Add(BootstrapListEditItem)

Adds the specified item to the collection

Add(ListEditItem) Adds the specified item to the collection
(Inherited from ListEditItemCollection)
Add(String)

Adds a new item to the collection and specifies the item's display text.

Add(String, Object)

Adds a new item to the collection and specifies the item's display text and associated value.

Add(String, Object, String)

Adds a new item to the collection and specifies the item's display text, image, and associated value.

AddRange(ICollection) Adds a collection of items to the end of the collection.
(Inherited from ListEditItemCollectionBase)
Assign(IAssignableCollection) Copies the items from the specified IAssignableCollection-supported object to the current object.
(Inherited from ListEditItemCollection)
Clear() Clears the items collection.
(Inherited from ListEditItemCollectionBase)
CopyTo(Array, Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object.
(Inherited from StateManagedCollectionBase)
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
FindByText(String)

Returns an item with the specified ListEditItem.Text property value.

FindByTextWithTrim(String)

Removes all leading and trailing white-space characters from the passed string and returns an item with the identical ListEditItem.Text property value.

FindByValue(Object)

Returns an item with the specified ListEditItem.Value property value.

GetEnumerator() Returns a reference to an enumerator object, which is used to iterate through the collection.
(Inherited from StateManagedCollectionBase)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
IndexOf(BootstrapListEditItem)

Searches for the specified item and returns the zero-based index of its first occurrence within the collection.

IndexOf(ListEditItem) Searches for the specified item and returns the zero-based index of its first occurrence within the collection.
(Inherited from ListEditItemCollection)
IndexOfText(String) Searches for an item by its display text and returns the zero-based index of its first occurrence within the collection.
(Inherited from ListEditItemCollectionBase)
IndexOfTextWithTrim(String) Removes all leading and trailing white-space characters from the passed string and searches for the first occurrence of the item with the identical value in the collection.
(Inherited from ListEditItemCollectionBase)
IndexOfValue(Object) Searches for the item by its associated value and returns the zero-based index of its first occurrence within the collection.
(Inherited from ListEditItemCollectionBase)
Insert(Int32, BootstrapListEditItem)

Adds the specified item to the specified position within the collection.

Insert(Int32, ListEditItem) Adds the specified item to the specified position within the collection.
(Inherited from ListEditItemCollection)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Move(Int32, Int32) Moves a specific collection item to another position within the list.
(Inherited from Collection)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
Remove(BootstrapListEditItem)

Removes an item from the collection.

Remove(ListEditItem) Removes an item from the collection.
(Inherited from ListEditItemCollection)
RemoveAt(Int32) Removes an item with the specified index location from the collection.
(Inherited from ListEditItemCollectionBase)
SetDirty() For internal use only.
(Inherited from StateManagedCollectionBase)
ToString() Returns a string that represents the current object.
(Inherited from Collection)
See Also