Quantcast
Viewing all articles
Browse latest Browse all 18858

When form is loaded make the image hidden in wpf

When the form is loaded i want the Image to be hidden and based on the binding to the model i want to show the image and visibility is set on it. 

Second part workd fine my question is when the form is loaded i would like to have the image to be hidden in wpf.

On model :

   public bool ShowWarning        {            get            {                return something;            }        }

returns true or false and visibility of image source is set on it.

When form is loaded model is not set everything will be empty. So how to make the image hidden?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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