Questa documentazione è stata archiviata e non viene gestita.

Classe EventRoute

Represents the container for the route to be followed by a routed event.

Spazio dei nomi: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
Spazio dei nomi XML:

public sealed class EventRoute
public final class EventRoute
public final class EventRoute
Non è possibile utilizzare questa classe gestita in XAML.

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 supports adding new entries to the list and also allows for the handlers in the list to be invoked.

Most normal operations for adding handlers for 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). 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.


I membri statici pubblici (Shared in Visual Basic) di questo tipo sono validi per le operazioni multithreading. I membri di istanza non sono garantiti come thread safe.

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in: