private void OnExternalBrowserOpenClick(object sender, EventArgs e) { var browserButton = (ButtonItem)sender; var browserTag = browserButton.Tag as String; ExternalBrowserManager.OpenUrl(browserTag, _siteBundleContainer.SelectedSite?.CurrentUrl); }
private void OnWebViewExternalBrowserOpenCommand(object sender, CommandEventArgs e) { if (e.CommandId == _commandIdOpenChrome) { ExternalBrowserManager.OpenUrl(ExternalBrowserManager.BrowserChromeTag, e.MenuInfo.LinkUrl); } else if (e.CommandId == _commandIdOpenFirefox) { ExternalBrowserManager.OpenUrl(ExternalBrowserManager.BrowserFirefoxTag, e.MenuInfo.LinkUrl); } else if (e.CommandId == _commandIdOpenEdge) { ExternalBrowserManager.OpenUrl(ExternalBrowserManager.BrowserEdgeTag, e.MenuInfo.LinkUrl); } else if (e.CommandId == _commandIdOpenIE) { ExternalBrowserManager.OpenUrl(ExternalBrowserManager.BrowserIETag, e.MenuInfo.LinkUrl); } }