Method | Description | |
---|---|---|
AddHandler ( |
A static helper method that adds a handler for a routed event to a target UIElement or ContentElement.
|
|
RaiseEvent ( |
A static helper method to raise a routed event on a target UIElement or ContentElement.
|
|
RemoveHandler ( |
A static helper method that removes a handler for a routed event from a target UIElement or ContentElement.
|
public static AddHandler ( |
||
element | UIElement or ContentElement that listens to the event | |
routedEvent | System.Windows.RoutedEvent | Event that will be handled |
handler | Event handler to be added | |
return | void |
public static RaiseEvent ( |
||
target | UIElement or ContentElement on which to raise the event | |
args | RoutedEventArgs to use when raising the event | |
return | void |
public static RemoveHandler ( |
||
element | UIElement or ContentElement that listens to the event | |
routedEvent | System.Windows.RoutedEvent | Event that will no longer be handled |
handler | Event handler to be removed | |
return | void |