EventHandler

Property legend Type legend Description
Context dp object expr base context
ContextPath string path a path to use for the value of Context
Path string path the path to the event
EventName string the name of the event
SetHandled bool whether to set routed events as handled
Body dp cp StatementCollection the body of the handler

Description

EventHandler registers for the event specified by Path or EventName and executes Body when the event is raised with the builtin variables @Sender and @EventArgs set to the traditional event handler parameters. If SetHandled is true and the event arguments are RoutedEventArgs, EventHandler will set @EventArgs.Handled to true.

@hash=d2ff5f3a@

Last edited Mar 31, 2011 at 2:44 AM by jrs, version 6

Comments

No comments yet.