New to Telerik UI for WinForms? Start a free 30-day trial

Carries the event identifier, source, and handled state for a routed event.

The public constructors throw NotImplementedException in this compatibility implementation.

Definition

Namespace:Telerik.WinControls.RichTextBox.Windows

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class RoutedEventArgs : EventArgs

Inheritance: objectEventArgsRoutedEventArgs

Derived Classes: SizeChangedEventArgsTextChangedEventArgsRadRoutedEventArgs

Inherited Members EventArgs.Empty

Constructors

Attempts to initialize routed-event data without an event identifier.

C#
public RoutedEventArgs()
Exceptions: NotImplementedException

Routed-event argument construction is not implemented.

Attempts to initialize routed-event data with an identifier and a source.

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

The identifier for the event.

sourceobject

The source that would be associated with the event.

Exceptions: NotImplementedException

Routed-event argument construction is not implemented.

Attempts to initialize routed-event data with an event identifier.

C#
public RoutedEventArgs(RoutedEvent routedEvent)
Parameters:routedEventRoutedEvent

The identifier for the event.

Exceptions: NotImplementedException

Routed-event argument construction is not implemented.

Properties

Gets or sets the flag indicating whether this event has been marked handled.

C#
public bool Handled { get; set; }

Gets the original source before any source adjustment.

C#
public object OriginalSource { get; }

This compatibility implementation never assigns the property, so it remains null.

Gets or sets the identifier associated with the event data.

C#
public RoutedEvent RoutedEvent { get; set; }

Gets or sets the event source.

C#
public object Source { get; set; }

Methods

Invokes a type-specific routed-event handler.

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

The handler to invoke.

genericTargetobject

The object on which to invoke the handler.

Exceptions: NotImplementedException

Handler invocation is not implemented by this compatibility type.

Notifies a derived class when the event source changes.

C#
protected virtual void OnSetSource(object source)
Parameters:sourceobject

The new source value.

Exceptions: NotImplementedException

Source-change notification is not implemented by this compatibility type.