Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide Control In Code Behind
Message
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01464957
Message ID:
01464970
Vues:
52
>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 .........
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform