RoutedEventBehavior
Class
Associates a routed-event condition with callbacks invoked while the matching event is processed.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
C#
public class RoutedEventBehavior
Inheritance: objectRoutedEventBehavior
Constructors
Initializes the behavior with the routed-event condition it observes.
C#
public RoutedEventBehavior(RaisedRoutedEvent raisedRoutedEvent)
The event, sender, and route conditions used to match routed events.
Properties
Gets or sets the routed-event condition that determines when this behavior runs.
C#
public RaisedRoutedEvent RaisedRoutedEvent { get; set; }
Methods
Called on each element where the configured routed-event condition matches during event routing.
C#
public virtual void OnEventOccured(RadElement sender, RadElement element, RoutedEventArgs args)
The element that originally raised the event.
elementRadElementThe element whose behavior collection is processing the event.
argsRoutedEventArgsThe routed-event data being processed.