protected internal virtual ValueUpdateResult UpdateValueCore( RadPropertyValue propVal) { object currentValue = propVal.GetCurrentValue(false); ValueSource valueSource = propVal.ValueSource; propVal.ComposeCurrentValue(); return(this.RaisePropertyNotifications(propVal, currentValue, propVal.GetCurrentValue(false), valueSource)); }
public ValueSource GetValueSource(RadProperty property) { RadPropertyValue entry = this.propertyValues.GetEntry(property, true); if (entry.ValueSource == ValueSource.Unknown) { entry.ComposeCurrentValue(); } return(entry.ValueSource); }
/// <summary> /// Performs the core value update logic. /// </summary> /// <param name="propVal"></param> /// <returns>The result of the operation.</returns> protected internal virtual ValueUpdateResult UpdateValueCore(RadPropertyValue propVal) { object oldValue = propVal.GetCurrentValue(false); ValueSource oldSource = propVal.ValueSource; //force re-composition of property's current value propVal.ComposeCurrentValue(); return(this.RaisePropertyNotifications(propVal, oldValue, propVal.GetCurrentValue(false), oldSource)); }