如何在按钮点击应用程序时启动屏幕? [英] How to go to start screen on button click of app?

查看:79
本文介绍了如何在按钮点击应用程序时启动屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用c#在按钮点击时启动屏幕。我已尝试启动屏幕管理器类,并尝试触发底部启动按钮。但仍然没有运气。有人可以指导我怎么做吗?我还需要通过按下按钮进入多任务
视图。 

I want to go to start screen on button click using c#. I have tried Start Screen Manager Class and tried to trigger bottom start button. but still no luck. can someone guide me how to do that? I also need to go to multitasking view by button press. 

我是新来的。因此,如果我在询问< g class =" gr_ gr_444 gr-alert gr_gramm gr_inline_cards gr_run_anim Style only-del replaceWithoutSep"数据-GR-ID =" 444" id =" 444">问题。< / g>

I am new here. So I am sorry if I made any mistakes while asking the <g class="gr_ gr_444 gr-alert gr_gramm gr_inline_cards gr_run_anim Style only-del replaceWithoutSep" data-gr-id="444" id="444">the question.</g>

推荐答案

嗨  dhanush_c,

Hi dhanush_c,

欢迎
给开发者通用Windows应用程序论坛!
  请使用   标记&NBSP;
发布到此论坛时,谢谢!

  开始画面管理员类是在v10.0.15063.0中引入的,它代表一个Start
屏幕管理器对象,用于与"开始"屏幕进行一些交互,但不提供启动屏幕的方法。据我所知,开始屏幕没有暴露出其他应用程序打开的方式。所以你现在不能这样做。

The Start​Screen​Manager class is introduced v10.0.15063.0, it represents a Start screen manager object to do some interactions with the Start Screen, but don't provide a way that go to start screen. As far as I know, the start screen did not expose a way to open by other app. So you can not do it now.

此外,uwp是一个沙盒系统,它没有打开太多的系统功能权限,它通常赋予用户为其配置一些功能的权利,它与  传统的
桌面。

Besides, uwp is a sandbox system, it didn't open too much system function permission, it usually gives the right to the user to configure some function for it and it is different from the traditional desktop.

祝你好运,

Breeze


这篇关于如何在按钮点击应用程序时启动屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆