This topic has not yet been rated - Rate this topic

ContentElement.AddHandler Method

Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method AddHandler(RoutedEvent, Delegate) Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.
Public method AddHandler(RoutedEvent, Delegate, Boolean) Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.