The definition of this class:
The IsInDesignMode property is used to indicate whether is in the DesignMode.
When we design the UI we usually use the blend ,so we need this property to bind
the view to a simple viewModel .