System.Web.UI.Control.Events Property

Gets a list of event handler delegates for the control. This property is read-only.

Syntax

protected System.ComponentModel.EventHandlerList Events { get; }

Value

a System.ComponentModel.EventHandlerList

Remarks

This property is of type System.ComponentModel.EventHandlerList, which uses a linear search algorithm to find entries in the list of delegates. A linear search algorithm is inefficient when working with a large number of entries. Therefore, when you have a large list, finding entries with this property will be slow.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0