JavaScript.ClientEventCollection
Wisej.Web.JavaScript ClientEventCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.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
ClientEventCollection()

Properties
Count

Int32: Returns the number of items in the collection.
Item(index)

ClientEvent: Returns the ClientEvent element at the specified index .
Methods
Add(item)

Adds the ClientEvent instance to the collection.
Clear()

Removes all the ClientEvent items from the collection.
Contains(item)

Checks whether the specified item exists in the collection.
Returns: Boolean. True of the collection contains the specified item .
IndexOf(item)

Returns the position of the specified item in the collection.
Returns: Int32. The index of the specified item or -1 if not found.
Insert(index, item)

Inserts the item into the collection at the specified index .
Remove(item)

Removes the item from the collection.
Returns: Boolean. True of the specified item was found and removed from the collection.
RemoveAt(index)

Removes the ClientEvent item at the location index .
Events
CollectionChanged

CollectionChangeEventHandler Fired when the collection has changed.
Last updated
Was this helpful?