[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection

ListItemCollection Class

Represents a ListItemCollection class to store ListItem.

Inheritance
ListItemCollection
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[ListBindable(false)]
public class ListItemCollection : IList, ICollection, IEnumerable
<ListBindable(False)>
Public Class ListItemCollection
    Implements IList, ICollection, IEnumerable

Properties

Name Description
Count

Gets the count of the collection.

this[int]

Gets or sets the item at the specified position.

Methods

Name Description
Add(ListItem)

Add an item to the collection.

Add(string)

Add a ListItem with the text to the collection.

AddRange(ListItem[])

Adds some items of specified collection to the end of the collection.

AddRange(string[])

Add some texts of specified collection to the end of the collection.

Clear()

Clears all the items in the collection.

Contains(ListItem)

Determines whether the collection contains specified item.

CopyTo(ListItem[], int)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

Find(object, IComparer, int, int)

Finds the value by comparer form start index.

FindAllObject(object, int)

Finds the first item in the List that matches the specified object.

FindAllString(string, int)

Finds the first item in the collection that starts with the specified string.

FindAllStringExact(string, int)

Finds the first item in the List that matches the specified string.

FindObject(object, int, int)

Finds the first item after specifed index that matches the specified object.

FindString(string, int, int)

Finds the first item after the given index which starts with the given string.

FindStringExact(string, int, int)

Finds the first item after the specified index that matches the specified string.

GetEnumerator()

Gets the enumerator of the collection.

IndexOf(ListItem)

Gets index of the item.

Insert(int, ListItem)

Inserts an item to the collection at the specified position

Remove(ListItem)

Deletes a specific item form the collection.

RemoveAt(int)

Removes the item at the specific position from the collection.

ToArray()

Copies the subItems of the colletion to a new Array.