Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

(C# WPF)How could I hide a control (ex. a textbox) and display it again

$
0
0

I searched on  the Internet.

It's really strange, I've tried textbox1.visibility=visibility.hidden. And I got this:

Property or indexer 'System.Windows.UIElement.IsVisible' cannot be assigned to -- it is read only.

It's really complicated.

I can't imagine hiding a control could be this hard...

Someone help plz



Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>