I developed some userControl that contain some information check on the \'IsVisible\' method ( override method ).
When i using this usercontrol on some window - i se
DesignerProperties.GetIsInDesignMode(this); This would return true if you are in design-time.
DesignerProperties.GetIsInDesignMode(this);