How to check if i'm in run-time or design time ?
WPF
2
Posts
2
Posters
0
Views
1
Watching
-
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.
-
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.
Regards, Gareth. (FKA gareth111)