public WebViewNavigated() { Navigated += (s, e) => { if (NavigatedCommand?.CanExecute(e) ?? false) { NavigatedCommand.Execute(e); } }; }
public MVVMWebView() { Navigating += (s, e) => { if (NavigatingCommand?.CanExecute(e) ?? false) { NavigatingCommand.Execute(e); } }; Navigated += (s, e) => { if (NavigatedCommand?.CanExecute(e) ?? false) { NavigatedCommand.Execute(e); } }; }