public void ApplyUpdate() { Name?.Apply(BoundObject.Name); BoundObject.UpdateIdIfAllowed(ID); Hint?.Apply(BoundObject.Hint); BoundObject.WithoutAttributes(); foreach (var attribute in Attributes) { if (attribute.IsOn && attribute.Value != null) { BoundObject.WithAttribute(attribute.Value); } } }