When the property changes, the specified method is called
[OnValueChanged(nameof(OnValueChanged1))] public int Value1; public int Value2; protected void OnValueChanged1() { Value2 = Value1 * 2; }
Note that modifying data in the callback function triggers cyclically