Reputation: 264
I have a UWP app that is launching links in Edge but every time I launch a url, it creates a new tab in the edge browser.
My question is: Is it possible from a UWP app to launch Edge and open a link in a tab that is already open in the Edge browser?
Is there a way that I can name the tab when I open the first web link and then later reference that tab ID or name?
Thanks!
Upvotes: 1
Views: 566
Reputation: 333
It not easy to tell IE what to do in an UWP app. Actually you can create a desktop application to launch IE and you can control the IE how to open the URL.
How to active the desktop application from UWP APP you can refer to: https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.fulltrustprocesslauncher
Upvotes: 0
Reputation: 32775
Is it possible from a UWP app to launch Edge and open a link in a tab that is already open in the Edge browser?
Microsoft Edge does not support Tab
manual management. When launch it with link, it will create new tab to display. But Internet Explorer support that open link in same tap. You could refer the follow setting.
Is there a way that I can name the tab when I open the first web link and then later reference that tab ID or name?
The Tab's name comes from page Title
automatically . You could not name the tab manually.
For flexible requirement, you could use WebView
Control. For more please refer Webview
official document.
Upvotes: 1