Open.Core.Common.Controls.Editors.PropertyGridStructure.PropertyGridPrimitiveViewModel.PropertyGridPrimitiveViewModel C# (CSharp) Method

PropertyGridPrimitiveViewModel() public method

public PropertyGridPrimitiveViewModel ( ObservableCollection model ) : System.Collections.ObjectModel
model ObservableCollection
return System.Collections.ObjectModel
        public PropertyGridPrimitiveViewModel(ObservableCollection<PropertyModel> model)
        {
            this.model = model;
            properties = new ObservableCollectionWrapper<PropertyModel, PropertyViewModel>(
                                                                                model, 
                                                                                 item => new PropertyViewModel(item));
        }
PropertyGridPrimitiveViewModel