NavigatingCancelEventHandler 委托

定义

表示用作 Page.On NavigationFrom 回调重写的方法。

public delegate void NavigatingCancelEventHandler(Platform::Object ^ sender, NavigatingCancelEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(4239266817, 60564, 22111, 159, 72, 124, 75, 98, 114, 179, 177)]
public delegate void NavigatingCancelEventHandler(object sender, NavigatingCancelEventArgs e);
Public Delegate Sub NavigatingCancelEventHandler(sender As Object, e As NavigatingCancelEventArgs)

参数

sender
Object

Platform::Object

实现方法的对象。

e
NavigatingCancelEventArgs

通过回调传递的事件数据。

属性

适用于