add View.InDesignMode property