Geeks With Blogs
Nat Luengnaruemitchai Geek Blog
In Windows Forms application, we can use Control.IsInDesignMode or LicenseManager.UsageMode == LicenseUsageMode.Designtime to check whether your code is executing in DesignMode or not. You might wonder how would you do the same in WPF. Fortunately, Cider and Blend offers a similar functionality. You can test the following condition DesignerProperties.GetIsInDesignMode(new DependencyObject()). Posted on Sunday, September 16, 2007 10:25 PM | Back to top


Comments on this post: Check whether the application is in DesignMode in WPF

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Nat Luengnaruemitchai | Powered by: GeeksWithBlogs.net