public void AddItem()
        {
            var ret = new PropertyListItemModel()
            {
                Name = "Property"
            };

            Items.Add(ret);
            SelectedItem = ret;
        }
Exemple #2
0
 public CardPropertyItemModel(PropertyListItemModel prop)
 {
     _def = prop;
 }
Exemple #3
0
 public CardPropertyItemModel(PropertyDef prop, object value)
 {
     _def   = ViewModelLocator.PropertyTabViewModel.Items.First(x => x.Name == prop.Name);
     _value = value;
 }