如何在启动时设置 Windows 位置 [英] How can I set the Windows position on startup

查看:22
本文介绍了如何在启动时设置 Windows 位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在屏幕右侧设置窗口的位置类似于WPF.UWP 中有没有办法做到这一点?

I want to set the position of the window on the right side on the screen similar to WPF. Is there a way in UWP to do this?

推荐答案

AFAIK 在 UWP 中是不可能的(至少现在还没有),您可以通过访问 ApplicationView 类,但是没有这样的方法/属性就像在 WPF 中一样.

AFAIK it's not possible in UWP (at least not yet), you can change window size or make it fullscreen by accessing ApplicationView class, but there are no such methods/properties like in WPF.

还有 MSDN 上的类似问题.

这篇关于如何在启动时设置 Windows 位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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