Share via


RoutedEventHandler 委托

定义

表示将处理路由事件的方法。

[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3672259973, 27082, 23519, 128, 91, 97, 97, 163, 162, 21, 204)]
public delegate void RoutedEventHandler(object sender, RoutedEventArgs e);
Public Delegate Sub RoutedEventHandler(sender As Object, e As RoutedEventArgs)

参数

sender
Object

事件处理程序所附加到的对象。

e
RoutedEventArgs

事件数据。

属性

适用于