Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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)));
 }