I developed some userControl that contain some information check on the 'IsVisible' method ( override method ).
When i using this usercontrol on some window - i see some error because the 'IsVisible' method look for some variable that is set on run-time.
How can i check if I'm in design time and the system is not running ?
Thanks for the help.
DesignerProperties.GetIsInDesignMode(this);
This would return true if you are in design-time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With