def METHOD_NAME(self, target, source):
    if target.ViewObject:
        target.ViewObject.ShapeColor = source.ViewObject.ShapeColor
        target.ViewObject.DisplayMode = source.ViewObject.DisplayMode