Freigeben über


RoutedEventHandler Delegat

Definition

Stellt die -Methode dar, die routingfähige Ereignisse verarbeitet.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2824267380, 45238, 19395, 187, 168, 27, 160, 110, 64, 212, 181)]
class RoutedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2824267380, 45238, 19395, 187, 168, 27, 160, 110, 64, 212, 181)]
public delegate void RoutedEventHandler(object sender, RoutedEventArgs e);
Public Delegate Sub RoutedEventHandler(sender As Object, e As RoutedEventArgs)

Parameter

sender
Object

IInspectable

Das Objekt, an das der Ereignishandler angefügt ist.

e
RoutedEventArgs

Die Ereignisdaten.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Gilt für: