[英]Win 10 virtual desktop
There are a lot of questions about virtual desktop feature in Win 10, but the answers are not satisfying. 关于Win 10中的虚拟桌面功能,有很多问题,但答案并不令人满意。 When I develop a Windows 10 App with UWP, c# and XAML I can't find a way to use this feature.
当我使用UWP,c#和XAML开发Windows 10应用程序时,我找不到使用此功能的方法。 What I like to achieve is the same behaviour that a typical Win 10 App shows, let's say: like Edge.
我想要实现的是与典型Win 10应用程序显示的行为相同的行为,比如说:Edge。 If you open Edge on virtual desktop A, switch to desktop B and start Edge from there, it automagically switches back to desktop A and shows the Edge window.
如果在虚拟桌面A上打开Edge,切换到桌面B并从那里启动Edge,它将自动切换回桌面A并显示Edge窗口。 How can this be done with: VS 2015, UWP App, c#??
如何使用:VS 2015,UWP App,c#?
EDIT: maybe it has to do with single instance applications. 编辑:也许与单实例应用程序有关。 But what I am looking for is answers to the following questions: - how many virtual desktops are there?
但是我正在寻找以下问题的答案:-那里有多少个虚拟桌面? - on which virtual desktop is my own App?
-我自己的应用程序在哪个虚拟桌面上? - how can I move my App to a different virtual desktop?
-如何将我的应用程序移动到其他虚拟桌面?
Regards Heiko 问候平子
Universal Windows apps are by nature single instance and get the behavior you ask for by default: 通用Windows应用程序本质上是单个实例,默认情况下会获得您要求的行为:
Create a new Universal Windows from the blank template. 从空白模板创建一个新的Universal Windows。
Universal Windows apps cannot directly query or interact with the virtual desktops. 通用Windows应用程序无法直接查询虚拟桌面或与虚拟桌面进行交互。
Classic Win32 apps can interact with virtual desktops and move windows between desktops via the VirtualDesktopManager and the IVirtualDesktopManager interface. 经典Win32应用程序可以与虚拟桌面进行交互,并通过VirtualDesktopManager和IVirtualDesktopManager界面在桌面之间移动窗口。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.