RoutedEventArgs RoutedEventArgs RoutedEventArgs RoutedEventArgs Class

Definición

Contiene datos de eventos e información de estado asociados a un evento enrutado.Contains state information and event data associated with a routed event.

public ref class RoutedEventArgs : EventArgs
public class RoutedEventArgs : EventArgs
type RoutedEventArgs = class
    inherit EventArgs
Public Class RoutedEventArgs
Inherits EventArgs
Herencia
RoutedEventArgsRoutedEventArgsRoutedEventArgsRoutedEventArgs
Derivado

Comentarios

Diferentes RoutedEventArgs puede utilizarse con una sola RoutedEvent.Different RoutedEventArgs can be used with a single RoutedEvent. Esta clase es responsable de empaquetar los datos del evento para un RoutedEvent, proporcionando información de estado de evento adicional y se usa el sistema de eventos para invocar el controlador asociado con el evento enrutado.This class is responsible for packaging the event data for a RoutedEvent, providing extra event state information, and is used by the event system for invoking the handler associated with the routed event.

Constructores

RoutedEventArgs() RoutedEventArgs() RoutedEventArgs() RoutedEventArgs()

Inicializa una nueva instancia de la clase RoutedEventArgs.Initializes a new instance of the RoutedEventArgs class.

RoutedEventArgs(RoutedEvent) RoutedEventArgs(RoutedEvent) RoutedEventArgs(RoutedEvent) RoutedEventArgs(RoutedEvent)

Inicializa una nueva instancia de la clase RoutedEventArgs, utilizando el identificador de evento enrutado proporcionado.Initializes a new instance of the RoutedEventArgs class, using the supplied routed event identifier.

RoutedEventArgs(RoutedEvent, Object) RoutedEventArgs(RoutedEvent, Object) RoutedEventArgs(RoutedEvent, Object) RoutedEventArgs(RoutedEvent, Object)

Inicializa una nueva instancia de la clase RoutedEventArgs, utilizando el identificador de evento enrutado proporcionado y dando la oportunidad de declarar un origen diferente para el evento.Initializes a new instance of the RoutedEventArgs class, using the supplied routed event identifier, and providing the opportunity to declare a different source for the event.

Propiedades

Handled Handled Handled Handled

Obtiene o establece un valor que indica el estado actual del control de eventos para un evento enrutado cuando recorre la ruta.Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

OriginalSource OriginalSource OriginalSource OriginalSource

Obtiene el origen inicial de los informes determinado por pruebas de acceso puro, antes de que una clase primaria realice posibles ajustes de Source.Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.

RoutedEvent RoutedEvent RoutedEvent RoutedEvent

Obtiene o establece el RoutedEvent asociado a esta instancia RoutedEventArgs.Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.

Source Source Source Source

Obtiene o establece una referencia al objeto que generó el evento.Gets or sets a reference to the object that raised the event.

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object)

Cuando se invalida en una clase derivada, proporciona una manera de invocar controladores de eventos de una forma específica del tipo, lo que puede aumentar la eficacia en la implementación base.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.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
OnSetSource(Object) OnSetSource(Object) OnSetSource(Object) OnSetSource(Object)

Cuando se invalida en una clase derivada, proporciona un punto de entrada de devolución de llamada de notificación cada vez que cambia el valor de propiedad Source de una instancia.When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.

ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a

Consulte también: