共用方式為


Sys.Component.events Property

Gets an EventHandlerList object that contains references to all the event handlers that are mapped to the current component's events.

Note

This member supports the client-script infrastructure and is not intended to be used directly from your code.

var c = new Sys.Component();
var e = c.get_events();

Return Value

An EventHandlerList object that contains references to all the events and handlers for this component.

See Also

Tasks

Creating Custom Non-Visual Client Components

Reference

Sys.Component Class

Concepts

Defining Custom Component Properties and Raising PropertyChanged Events

Other Resources

Language Reference