New to Telerik UI for WinFormsStart a free 30-day trial

Contains state information and event data associated with a routed event.

Definition

Namespace:Telerik.WinForms.SyntaxEditor

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class RadRoutedEventArgs : RoutedEventArgs

Inheritance: objectEventArgsRoutedEventArgsRadRoutedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the RadRoutedEventArgs class.

C#
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.

C#
public RadRoutedEventArgs(RoutedEvent routedEvent, object source)
Parameters:routedEventRoutedEvent

The routed event identifier for this instance of the RoutedEventArgs class.

sourceobject

An 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.

C#
public RadRoutedEventArgs(RoutedEvent routedEvent)
Parameters:routedEventRoutedEvent

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.

C#
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.

C#
public object OriginalSource { get; }

Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.

C#
public RoutedEvent RoutedEvent { get; set; }

Gets or sets a reference to the object that raised the event.

C#
public object Source { 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.

C#
protected virtual void InvokeEventHandler(Delegate genericHandler, object genericTarget)
Parameters:genericHandlerDelegate

The generic handler / delegate implementation to be invoked.

genericTargetobject

The target on which the provided handler should be invoked.

When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.

C#
protected virtual void OnSetSource(object newSource)
Parameters:newSourceobject

The new value that Source is being set to.