Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide Control In Code Behind
Message
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01464957
Message ID:
01464970
Views:
51
>This time you have to admit - this is just plain stupid!
>
>WTF is there no Visible property on a user control in WPF?????

Because they replaced it with something better :-}

>How do you hide a control in the code behind?

See the UIElement.Visibility property.
Vivsiblility.Hidden means it will not render but will occupy the same space.
Visibility.Collapsed frees up the space it would otherwise occupy so that it can be used by other controls.
Visibility.Visible means .........
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform