public void AddItem() { var ret = new PropertyListItemModel() { Name = "Property" }; Items.Add(ret); SelectedItem = ret; }
public CardPropertyItemModel(PropertyListItemModel prop) { _def = prop; }
public CardPropertyItemModel(PropertyDef prop, object value) { _def = ViewModelLocator.PropertyTabViewModel.Items.First(x => x.Name == prop.Name); _value = value; }