public override bool ShouldSerializeValue(object component) { var target = GetTarget(component); return(target != null && ValueProperty.ShouldSerializeValue(target)); }