NavigatingCancelEventHandler 委托

定义

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

public delegate void NavigatingCancelEventHandler(Platform::Object ^ sender, NavigatingCancelEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1977001871, 41730, 17545, 152, 152, 36, 234, 73, 24, 41, 16)]
class NavigatingCancelEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1977001871, 41730, 17545, 152, 152, 36, 234, 73, 24, 41, 16)]
public delegate void NavigatingCancelEventHandler(object sender, NavigatingCancelEventArgs e);
Public Delegate Sub NavigatingCancelEventHandler(sender As Object, e As NavigatingCancelEventArgs)

参数

sender
Object

Platform::Object

IInspectable

实现方法的对象。

e
NavigatingCancelEventArgs

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

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于