andrew4582

IsDesignTime ViewBase MVVM

Oct 21st, 2012
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1.        public bool IsDesignTime
  2.         {
  3.             get
  4.             {
  5.                 return (Application.Current == null) || (Application.Current.GetType() == typeof(Application));
  6.             }
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment