Class RadRoutedEventArgs
Contains state information and event data associated with a routed event.
Inherited Members
Namespace: Telerik.WinForms.SyntaxEditor
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class RadRoutedEventArgs : RoutedEventArgs
Constructors
RadRoutedEventArgs()
Initializes a new instance of the RadRoutedEventArgs class.
Declaration
public RadRoutedEventArgs()
RadRoutedEventArgs(RoutedEvent)
Initializes a new instance of the RadRoutedEventArgs class, using the supplied routed event identifier.
Declaration
public RadRoutedEventArgs(RoutedEvent routedEvent)
Parameters
|
RoutedEvent
routedEvent
The routed event identifier for this instance of the RoutedEventArgs class. |
RadRoutedEventArgs(RoutedEvent, Object)
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.
Declaration
public RadRoutedEventArgs(RoutedEvent routedEvent, object source)
Parameters
|
RoutedEvent
routedEvent
The routed event identifier for this instance of the RoutedEventArgs class. |
|
System.Object
source
An alternate source that will be reported when the event is handled. This pre-populates the Source property. |
Properties
Handled
Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
Declaration
public bool Handled { get; set; }
Property Value
|
System.Boolean
|
OriginalSource
Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.
Declaration
public object OriginalSource { get; }
Property Value
|
System.Object
|
RoutedEvent
Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.
Declaration
public RoutedEvent RoutedEvent { get; set; }
Property Value
|
RoutedEvent
|
Source
Gets or sets a reference to the object that raised the event.
Declaration
public object Source { get; set; }
Property Value
|
System.Object
|
Methods
InvokeEventHandler(Delegate, Object)
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.
Declaration
protected virtual void InvokeEventHandler(Delegate genericHandler, object genericTarget)
Parameters
|
System.Delegate
genericHandler
The generic handler / delegate implementation to be invoked. |
|
System.Object
genericTarget
The target on which the provided handler should be invoked. |
OnSetSource(Object)
When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.
Declaration
protected virtual void OnSetSource(object newSource)
Parameters
|
System.Object
newSource
The new value that Source is being set to. |