private void _display_OnValueChanged(UIValueChangeEvent <int> e, UIElement sender) { Value = e.Value; _display.Value = (int)Value; _display.Apply(); OnValueChanged?.Invoke(new UIActionEvent(e.Target, e.TimeStamp), this); }
public void UpdateValue() { Value = (Rectangle)PropertyInfo.GetValue(Target); _textX.Apply(); _textY.Apply(); _textW.Apply(); _textH.Apply(); }
public void UpdateValue() { Value = (Vector2)PropertyInfo.GetValue(Target); _textX.Apply(); _textY.Apply(); }