Beispiel #1
0
 private void OnPropertyValueChanged(PropertyValueChangedArg arg)
 {
     if (PropertyValueChanged != null)
     {
         PropertyValueChanged(this, arg);
     }
 }
Beispiel #2
0
 private void Property_PropertyValueChanged(object sender, PropertyValueChangedArg e)
 {
     if (ChangeMonitorItems.Any(x => x.columnID != 0 && string.IsNullOrEmpty(x.RestTail)))
     {
         foreach (var item in ChangeMonitorItems.Where(x => x.columnID != 0 && string.IsNullOrEmpty(x.RestTail)))
         {
             if (e.ColumnID == item.columnID)
             {
                 item.DataToCall.OnRelatedDataOrColumnChanged(item);
             }
         }
     }
     if (PropertyValueChanged != null)
     {
         e.DataItem = this;
         PropertyValueChanged(this, e);
     }
 }