Example #1
0
        private void PropertyOnSomeValueChanged(object Sender, EventArgs e)
        {
            var property = (PropertyModel)Sender;

            Values = _propertyValuesViewModelFactory.GetViewModel(property);
            OnPropertyChanged("Values");

            Status = property.Status;
            OnPropertyChanged("Status");
        }
Example #2
0
 public PropertyViewModel(string GroupName, string Name, PropertyValueStatus Status, PropertyValuesViewModel Values,
                          IPropertyValuesViewModelFactory PropertyValuesViewModelFactory, int DisplayIndex = 100)
 {
     this.Name = Name;
     this.GroupName = GroupName;
     this.Status = Status;
     this.Values = Values;
     _propertyValuesViewModelFactory = PropertyValuesViewModelFactory;
     this.DisplayIndex = DisplayIndex;
 }