JavaScript.ClientEventCollection

Wisej.Web.JavaScript ClientEventCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.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

Initializes a new instance of ClientEventCollection.

Properties

Int32: Returns the number of items in the collection.

ClientEvent: Returns the ClientEvent element at the specified index .

Methods

Adds the ClientEvent instance to the collection.

ParameterTypeDescription

item

Removes all the ClientEvent items from the collection.

Checks whether the specified item exists in the collection.

ParameterTypeDescription

item

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

Returns the position of the specified item in the collection.

ParameterTypeDescription

item

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

Inserts the item into the collection at the specified index .

ParameterTypeDescription

index

Position where to insert the item .

item

Removes the item from the collection.

ParameterTypeDescription

item

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

Removes the ClientEvent item at the location index .

ParameterTypeDescription

index

Position of the item to remove from the collection.

Events

CollectionChangeEventHandler Fired when the collection has changed.

Last updated