RadRoutedEventArgs
Contains state information and event data associated with a routed event.
Definition
Namespace:Telerik.WinForms.SyntaxEditor
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class RadRoutedEventArgs : RoutedEventArgs
Inheritance: objectEventArgsRoutedEventArgsRadRoutedEventArgs
Inherited Members
Constructors
Initializes a new instance of the RadRoutedEventArgs class.
public RadRoutedEventArgs()
Initializes a new instance of the RadRoutedEventArgs class, using the supplied routed event identifier, and providing the opportunity to declare a different source for the event.
public RadRoutedEventArgs(RoutedEvent routedEvent, object source)
The routed event identifier for this instance of the RoutedEventArgs class.
sourceobjectAn alternate source that will be reported when the event is handled. This pre-populates the Source property.
Initializes a new instance of the RadRoutedEventArgs class, using the supplied routed event identifier.
public RadRoutedEventArgs(RoutedEvent routedEvent)
The routed event identifier for this instance of the RoutedEventArgs class.
Properties
Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
public bool Handled { get; set; }
Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.
public object OriginalSource { get; }
Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.
public RoutedEvent RoutedEvent { get; set; }
Methods
When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation.
When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.
protected virtual void OnSetSource(object newSource)
The new value that Source is being set to.