Class
RadRoutedEventArgs

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

Definition

Namespace:Telerik.WinForms.SyntaxEditor

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class RadRoutedEventArgs : RoutedEventArgs

Inheritance: objectEventArgsRoutedEventArgsRadRoutedEventArgs

Inherited Members EventArgs.Empty

Constructors

RadRoutedEventArgs()

Initializes a new instance of the RadRoutedEventArgs class.

Declaration

cs-api-definition
public RadRoutedEventArgs()

RadRoutedEventArgs(RoutedEvent)

Initializes a new instance of the RadRoutedEventArgs class, using the supplied routed event identifier.

Declaration

cs-api-definition
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

cs-api-definition
public RadRoutedEventArgs(RoutedEvent routedEvent, object source)

Parameters

routedEvent

RoutedEvent

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

source

object

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

cs-api-definition
public bool Handled { get; set; }

Property Value

bool

OriginalSource

Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.

Declaration

cs-api-definition
public object OriginalSource { get; }

Property Value

object

RoutedEvent

Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.

Declaration

cs-api-definition
public RoutedEvent RoutedEvent { get; set; }

Property Value

RoutedEvent

Source

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

Declaration

cs-api-definition
public object Source { get; set; }

Property Value

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

cs-api-definition
protected virtual void InvokeEventHandler(Delegate genericHandler, object genericTarget)

Parameters

genericHandler

Delegate

The generic handler / delegate implementation to be invoked.

genericTarget

object

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

cs-api-definition
protected virtual void OnSetSource(object newSource)

Parameters

newSource

object

The new value that Source is being set to.