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.
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.
Parameter | Type | Description |
---|---|---|
item |
Removes all the ClientEvent items from the collection.
Checks whether the specified item exists in the collection.
Parameter | Type | Description |
---|---|---|
item |
Returns: Boolean. True of the collection contains the specified item .
Returns the position of the specified item in the collection.
Parameter | Type | Description |
---|---|---|
item |
Returns: Int32. The index of the specified item or -1 if not found.
Inserts the item into the collection at the specified index .
Parameter | Type | Description |
---|---|---|
index | Position where to insert the item . | |
item |
Removes the item from the collection.
Parameter | Type | Description |
---|---|---|
item |
Returns: Boolean. True of the specified item was found and removed from the collection.
Removes the ClientEvent item at the location index .
Parameter | Type | Description |
---|---|---|
index | Position of the item to remove from the collection. |
Events
CollectionChangeEventHandler Fired when the collection has changed.
Last updated