Share via


WebViewNavigationStartingEventArgs.Cancel 属性

定义

获取或设置一个值,该值指示是否取消 WebView 导航。

public:
 property bool Cancel { bool get(); void set(bool value); };
bool Cancel();

void Cancel(bool value);
public bool Cancel { get; set; }
var boolean = webViewNavigationStartingEventArgs.cancel;
webViewNavigationStartingEventArgs.cancel = boolean;
Public Property Cancel As Boolean

属性值

Boolean

bool

如果为 true ,则取消导航;否则为 false

适用于

另请参阅