EventRoute EventRoute EventRoute EventRoute Class

Definición

Representa el contenedor de la ruta que un evento enrutado va a seguir.Represents the container for the route to be followed by a routed event.

public ref class EventRoute sealed
public sealed class EventRoute
type EventRoute = class
Public NotInheritable Class EventRoute
Herencia
EventRouteEventRouteEventRouteEventRoute

Comentarios

Esta clase corresponde a una RoutedEventy contiene una lista ordenada de objetos y el controlador de lista pares de destino que hacen referencia a la ruta del evento para ese evento.This class corresponds to a valid RoutedEvent, and contains an ordered list of target object and handler list pairs that refer to the event route for that event. EventRoute admite la adición de nuevas entradas a la lista y también se permite para los controladores en la lista que se debe invocar.EventRoute supports adding new entries to the list and also allows for the handlers in the list to be invoked.

Las operaciones normales más para agregar controladores para Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) eventos no necesitan trabajar con esta clase (por ejemplo, use EventManager métodos para agregar el control de clases o consultar los controladores existentes de un evento).Most normal operations for adding handlers for Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) events do not require working with this class (for instance, use EventManager methods to add class handling, or query for existing handlers of an event). Esta clase es principalmente para su uso cuando los elementos tienen datos concretos sobre elementos secundarios o elementos primarios que hacen que sea práctico agregar elementos a o quitar elementos de la ruta del evento calculada predeterminada.This class is mainly for use when elements have particular knowledge about child elements or parent elements that make it practical to either add elements to or remove elements from the default calculated event route.

Constructores

EventRoute(RoutedEvent) EventRoute(RoutedEvent) EventRoute(RoutedEvent) EventRoute(RoutedEvent)

Inicializa una instancia de la clase EventRoute.Initializes an instance of the EventRoute class.

Métodos

Add(Object, Delegate, Boolean) Add(Object, Delegate, Boolean) Add(Object, Delegate, Boolean) Add(Object, Delegate, Boolean)

Agrega el controlador especificado del destino especificado a la ruta.Adds the specified handler for the specified target to the route.

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)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
PeekBranchNode() PeekBranchNode() PeekBranchNode() PeekBranchNode()

Devuelve el elemento de nivel superior de la pila de rutas de evento donde dos árboles lógicos divergen.Returns the top-most element on the event route stack at which two logical trees diverge.

PeekBranchSource() PeekBranchSource() PeekBranchSource() PeekBranchSource()

Devuelve el origen del elemento de nivel superior de la pila de rutas de evento donde dos árboles lógicos divergen.Returns the source for the top-most element on the event route stack at which two logical trees diverge.

PopBranchNode() PopBranchNode() PopBranchNode() PopBranchNode()

Devuelve el nodo de nivel superior de la pila de rutas de evento donde dos árboles lógicos divergen.Returns the top-most node on the event route stack at which two logical trees diverge.

PushBranchNode(Object, Object) PushBranchNode(Object, Object) PushBranchNode(Object, Object) PushBranchNode(Object, Object)

Agrega el nodo de nivel superior a la pila de rutas de evento donde dos árboles lógicos divergen.Adds the top-most node to the event route stack at which two logical trees diverge.

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