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

Carries event data for callbacks that use a routed-event signature; this type does not route callbacks.

Definition

Constructors

Initializes event data with no event identifier or source.

C#
public RoutedEventArgs()

Initializes event data and stores the supplied event identifier and source.

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

The event identifier to store.

sourceobject

The source object to store.

Initializes event data. The supplied event identifier is ignored by this overload.

C#
public RoutedEventArgs(RoutedEvent routedEvent)
Parameters:routedEventRoutedEvent

The event identifier; this overload does not store it.

Properties

Gets or sets the handled flag. Changing it does not alter callback dispatch in this implementation.

C#
public bool Handled { get; set; }

Gets the original source. This implementation never assigns the property, so it remains null.

C#
public object OriginalSource { get; }

Gets or sets the event identifier stored in this event data.

C#
public RoutedEvent RoutedEvent { get; set; }

Gets or sets the source object stored in this event data.

C#
public object Source { get; set; }

Methods

Is not implemented in the base class; calling this method throws NotImplementedException.

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

The handler to invoke.

genericTargetobject

The target passed to the handler.

Exceptions: NotImplementedException

The base implementation does not invoke handlers.

Is not implemented in the base class; calling this method throws NotImplementedException.

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

The source value to process.

Exceptions: NotImplementedException

The base implementation does not process source changes.