/// <summary> /// Determines whether the value of this property should be serialized. /// </summary> /// <param name="component"></param> /// <returns></returns> public override bool ShouldSerializeValue(object component) { return(AggregatedProperty.ShouldSerializeValue(component)); }
/// <summary> /// Sets the value of the component to a different value, redirecting /// the call to the appropriate object. /// </summary> /// <param name="component"></param> /// <param name="value"></param> public override void SetValue(object component, object value) { AggregatedProperty.SetValue(OwningProperty.GetValue(component), value); }
/// <summary> /// Gets the current value of the property on a component, redirecting /// the call to the appropriate object. /// </summary> /// <param name="component"></param> /// <returns></returns> public override object GetValue(object component) { return(AggregatedProperty.GetValue(OwningProperty.GetValue(component))); }
/// <summary> /// Resets the value for this property of the component to its default /// value. /// </summary> /// <param name="component"></param> public override void ResetValue(object component) { AggregatedProperty.ResetValue(component); }
/// <summary> /// Returns whether resetting an object changes its value. /// </summary> /// <param name="component"></param> /// <returns></returns> public override bool CanResetValue(object component) { return(AggregatedProperty.CanResetValue(component)); }