为什么Blend将我的控件的宽度和高度设置为自动(0)?我在设计界面上看不到任何东西! [英] Why does Blend set my controls' Width and Height to Auto(0)? I can't see anything on the design surface!

查看:91
本文介绍了为什么Blend将我的控件的宽度和高度设置为自动(0)?我在设计界面上看不到任何东西!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我只是想搞清楚Blend,到目前为止我印象非常深刻。

I'm just trying to get to grips with Blend, and so far am very impressed.

然而,我刚刚打开了一个我上周正在研究的项目,结果发现Blend已经将很多容器控件的宽度和高度设置为Auto(0)。这意味着它们在设计师中是不可见的。

However, I just opened up a project that I was working on last week, only to find that Blend has set the Width and Height of a lot of the container controls to Auto(0). This means that they are not visible in the designer.

如果我在VS中打开它们,它们会显示正常,就像我离开它们一样。

If I open them in VS, they show up fine, just as I left them.

即使我将它们设置为固定大小,它们仍然不会显示。

Even if I set them to a fixed size, they still don't show up.

如何让Blend正确显示它们?目前,我根本无法使用Blend,因为我看不到任何控件。

How can I get Blend to display them properly? At the moment, I can't use Blend at all, because I can't see any of my controls.

谢谢

推荐答案

好的,只是为了跟进我自己的帖子,我不确定问题是宽度和高度值本身,因为Visual Studio显示控件正常。此外,即使我将最上面的容器的宽度和高度更改为固定值,然后按照我的方式在树下工作
,在子控件上设置固定的宽度和高度,它仍然没有显示任何内容。我只看到一块空白的画布。

OK, just to follow up on my own post, I'm not sure the problem is the width and height values per se, as Visual Studio shows the controls fine. Furthermore, even if I change the widths and height of the topmost container to a fixed value, then work my way down the tree, setting a fixed width and height on child controls, it still doesn't show anything. All I see is a blank canvas.

任何人都可以帮忙吗? Blend现在对我来说完全无法使用。我看不到任何控件,所以不能用它做任何事情。我坚持在Visual Studio中完成所有设计。

Can anyone help please? Blend is now completely unusable for me. I can't see any controls, and so can't do anything with it. I'm stuck doing all the design in Visual Studio.

谢谢


这篇关于为什么Blend将我的控件的宽度和高度设置为自动(0)?我在设计界面上看不到任何东西!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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