views:

22

answers:

0

Possible Duplicate:
Is there a DesignMode property in WPF?

I have some codes that run & cause trouble for the designer of the IDE when editing a WPF form. So I want to know if I'm in design mode, I will turn off my code. Is it possible?