Update Editor UI when changing UPROPERTY in c++

Anyone know how to refresh my editor’s UI when I modify a UPROPERTY’s value in c++?

//Header
UPROPERTY(VisibleAnywhere)
EWeight ItemWeight = EWeight::Invalid;

//Source
virtual void OnRegister()
{
  ItemWeight = EWeight::Light;
  // Here I want to have some code that updates the editor's value,
  // Currently, in the editor the value will still be "EWeight::Invalid"
}

I’ve tried things like

FPropertyChangedEvent ChangedEvent(Property, EPropertyChangeType::ValueSet);
Super::PostEditChangeProperty(ChangedEvent);

But that hasn’t updated the UI after being called :frowning: