public ViewPropertiesViewModel(WizardViewModel parent, IModelView modelView)
        {
            this.parent      = parent;
            SourceProperties = new List <IModelProperty>();
            returnModelType  = parent.Request.SelectedAccessor.ReturnModelType;
            SourceProperties.AddRange(returnModelType.GetProperties());

            Name = returnModelType.Name;
            //rootModelType = modelType;
            //this.selectedViewProperties = new List<IModelProperty>();
            //if (selectedViewProperties == null && modelType.DefaultViews != null && modelType.DefaultViews.Any())
            //{
            //    IModelView defaultView = modelType.DefaultViews.FirstOrDefault(v => v.IsDefault);
            //    if(defaultView != null && defaultView)
            //    this.selectedViewProperties.AddRange(modelType.DefaultViews);
            //}
        }