VS Designer错误与XAML弹出窗口? [英] VS Designer Bug with XAML Popup?

查看:99
本文介绍了VS Designer错误与XAML弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用C#,UWP编写的程序,目标内部版本为10586.这是设计窗口的图片,其中xaml弹出窗口位于应用程序窗口的中心上方.

当我将目标版本更新为14393(周年纪念版)时,不再显示弹出窗口.  轮廓仍然存在,但是图形现在显示在设计器窗口的左上方.  窗口也不会随 正确缩放始终为100%,当我更改缩放"时,它只是变得模糊而不是改变大小.下面是我降低变焦的照片,但是图像变得模糊.  当我更改代码中的内容时,它将更新 然而.  该程序还将正确生成,并且在弹出窗口位于正确位置的情况下也可以正常运行.  这是一个错误吗?  有人遇到过这个问题,找到了解决方案吗?谢谢.

解决方案

嗨Mewonium,

根据您的描述和我在计算机中进行的测试,我发现目标版本14393和版本10586在设计模式下的弹出控件不同.

在构建1493下,我也得到了与您描述的相同的弹出窗口:


弹出窗口和大纲分别显示,效果很好.

关于缩放",我遇到同样的情况,无论我如何更改画布的缩放比例,弹出窗口始终为100%,但轮廓部分可以.   

 我认为这只是内部版本14393的新功能.

我还找到了与您的问题类似的反馈.你张贴了吗?如果是这样,您可以将此标记为答案,这对遇到相同问题的其他人有帮助.

https://connect.microsoft.com/VisualStudio/Feedback/Details/3118301

最诚挚的问候

弗莱彻(Fletcher)



I have a program written in C#, UWP, and with the target build being 10586.  Here is a picture of the design window with the xaml popup in the upper center of the app window.

When I update to the target version of 14393 (Anniversary Ed.) the popup no longer shows up there.  The outline is still there, but the graphics now show up in the upper left side of the designer window.  The window also doesn't scale with the zoom properly  It's always at 100% and when I change the "zoom," it just gets blurry instead of changing size.  Below is a photo where I lowered the zoom but the image just got blurry.  It will update when I change things in the code however.  The program also will build with no errors and will run just fine with the popup in the correct position.  Is this a bug?  Has anyone encountered this and found a solution?  Thanks.

解决方案

Hi Mewonium,

Based on your description and my own testing in my machine, I found out that the popup control under design mode in target build 14393 and build 10586 is different.

I also got the same popup under build 1493 as you described:


The popup and the outline show up separately, it did work fine.

As for "zoom",  I got the same situation , the popup is always 100% no matter how I would change zoom the canvas but the outline part could.   

 And I think it’s just the new feature of build 14393.

I also found a feedback with a similar issue as yours. Did you post it? If so, you could mark this as answer which would be helpful to others who meet the same issue to refer to.

https://connect.microsoft.com/VisualStudio/Feedback/Details/3118301

Best regards,

Fletcher 



这篇关于VS Designer错误与XAML弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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