C#的Windows通用10顶层窗口 [英] C# Windows Universal 10 TopMost Window
问题描述
我开发一个通用的Windows应用程序10
I'm developing an Windows Universal 10 app.
有可能设置应用程序作为最顶层(总在最前面)?像WPF或WinForm的(TopMost属性)
Is there possible to set application as TopMost(always on top) ? like wpf or winform (TopMost property)
感谢
推荐答案
短答案是否后,就没有办法今天,以使应用程序模式的。
Short answer is no, there is no way as of today to make the application modal.
有一个< A HREF =https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/11179821-uwp-windows-always-on-top相对=nofollow>上访去到处问此功能,这是要求去年十二月,但(在这个答案编写时35)给出的选票它得到的数量,它看起来并不像它会考虑到很快。
There is a petition going around asking for this functionality, which was requested last December but given the amount of votes it got (35 at the time this answer was written), it doesn't look like it will be taken into consideration anytime soon.
由于在评论中提到,此功能将仅适用于PC,即使加入这样也好,我的假设是,它不会在PC模式(所以没有平板电脑,手机之外的工作或表面家庭设备支持)。
As mentioned in the comments, this functionality would be PC only so even if it was added, my assumption would be that it wouldn't work outside of the PC mode (so no tablet, mobile or surface family device support).
这篇关于C#的Windows通用10顶层窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!