ViewModelBase
extends ObservableObject
and adds some methods useful for viewmodels.
The property IsInDesignMode
or IsInDesignModeStatic
allows to determine if the code is executed in the design mode (in Visual Studio Design View) or not. The two properties are exactly the same.