Skip to main content
Version: 4.1

ClientEventCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a collection of JavaScript events and their corresponding handler code.

public class ClientEventCollection : IList, ICollection, IEnumerable, IList<ClientEvent>, ICollection<ClientEvent>, IEnumerable<ClientEvent>

Constructors​

Instance member ClientEventCollection()​

Initializes a new instance of ClientEventCollection.

Properties​

Instance member Count​

Int32: Returns the number of items in the collection.

Instance member Item(index)​

ClientEvent: Returns the ClientEvent element at the specified index .

Methods​

Instance member Add(item)​

Adds the ClientEvent instance to the collection.

ParameterTypeDescription
itemClientEventClientEvent item to add to the collection.

Instance member Clear()​

Removes all the ClientEvent items from the collection.

Instance member Contains(item)​

Checks whether the specified item exists in the collection.

ParameterTypeDescription
itemClientEventClientEvent items to find in the collection.

Returns: Boolean. True of the collection contains the specified item .

Instance member IndexOf(item)​

Returns the position of the specified item in the collection.

ParameterTypeDescription
itemClientEventClientEvent item to locate in the collection.

Returns: Int32. The index of the specified item or -1 if not found.

Instance member Insert(index, item)​

Inserts the item into the collection at the specified index .

ParameterTypeDescription
indexInt32Position where to insert the item .
itemClientEventClientEvent item to insert into the collection.

Instance member Remove(item)​

Removes the item from the collection.

ParameterTypeDescription
itemClientEventClientEvent instance to remove from the collection.

Returns: Boolean. True of the specified item was found and removed from the collection.

Instance member RemoveAt(index)​

Removes the ClientEvent item at the location index .

ParameterTypeDescription
indexInt32Position of the item to remove from the collection.

Events​

Instance member CollectionChanged​

CollectionChangeEventHandler Fired when the collection has changed.