Raises a tunnel/bubble event pair for a WPF control.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected static bool RaiseEventPair( UIElement target, RoutedEvent previewEvent, RoutedEvent event, RoutedEventArgs args )
Protected Shared Function RaiseEventPair ( _ target As UIElement, _ previewEvent As RoutedEvent, _ event As RoutedEvent, _ args As RoutedEventArgs _ ) As Boolean
protected: static bool RaiseEventPair( UIElement^ target, RoutedEvent^ previewEvent, RoutedEvent^ event, RoutedEventArgs^ args )
Parameters
- target (UIElement)
- The WPF control for which the event should be raised.
- previewEvent (RoutedEvent)
- The tunneling event.
- event (RoutedEvent)
- The bubbling event.
- args (RoutedEventArgs)
- The event args to use.
Return Value
The Handled value of the event args.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238