开发者

How to set a controls visibility to false at design time visual studio 2010?

I have a few group boxes that stack over each each. In previous editions of visual studio I used to move the controls off screen, then set their positions when the form loaded.

This seems like an archaic 开发者_JAVA百科method, is there a way to set a controls visibility to false at design time? So that it is not visible in the form designer?


I am not sure what you are having difficulty with, but there is a Visible property for every control I am aware of. To set at design time, you merely choose the control in question and then go through the properties until you find Visible and set it to false.

Am I missing something here?


I know I am a few years late, but have you tried d:IsHidden="True"?

This uses xmlns:d="http://schemas.microsoft.com/expression/blend/2008" (which is usually included automatically), and it makes the control invisible in the designer, but otherwise does not affect anything.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜