(0) exportieren Drucken
Alle erweitern


Adds a routed event handler for a specific routed event to an element.

Namespace: System.Windows
Assembly: PresentationCore (in presentationcore.dll)

void AddHandler (
	RoutedEvent routedEvent,
	Delegate handler
void AddHandler (
	RoutedEvent routedEvent, 
	Delegate handler
function AddHandler (
	routedEvent : RoutedEvent, 
	handler : Delegate
Sie können diese Methoden nicht in XAML verwenden.



The identifier for the routed event that is being handled.


A reference to the handler implementation.

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0
© 2014 Microsoft