WPF - Hide Components in Design

1

Good people,

I recently switched from PC and on the other PC visual studio 2010 in WPF Design when I added a certain object and defined the property "visibility = Hidden" the object was hidden in the very design construction form, at this point even if I set the property for "Hidden" the object remains visible.

Explaining better:

In the image below as the Visibility property of Grid A is defaulted to Hidden, neither gridA nor labelA should be visible. In the old PC it works perfectly but I do not remember where I set it in VS2010

Does anyone know where I can configure this in VS2010?

    
asked by anonymous 25.05.2015 / 10:46

1 answer

0

Have you tried using Visibility.Collapsed ?

The Hidden will not show the element, but will reserve space for it.

The exact text as MSDN :

Visible : Displays the element.

Hidden : Does not show the element but reserves its space in the layout.

Collapsed : Does not display the element and does not reserve its layout space.

    
25.05.2015 / 19:22