RoutedEventHandler Delegate
Definition
Represents the method that will handle routed events.
Equivalent WinUI delegate: Microsoft.UI.Xaml.RoutedEventHandler.
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2824267380, 45238, 19395, 187, 168, 27, 160, 110, 64, 212, 181)]
/// [Windows.Foundation.Metadata.WebHostHidden]
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)]
[Windows.Foundation.Metadata.WebHostHidden]
public delegate void RoutedEventHandler(object sender, RoutedEventArgs e);
Public Delegate Sub RoutedEventHandler(sender As Object, e As RoutedEventArgs)
Parameters
- sender
- Object
The object where the event handler is attached.
The event data.
- Inheritance
-
RoutedEventHandler
- Attributes
Windows 10 requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|