Exemple #1
0
 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);
 }
Exemple #2
0
 public void UpdateValue()
 {
     Value = (Rectangle)PropertyInfo.GetValue(Target);
     _textX.Apply();
     _textY.Apply();
     _textW.Apply();
     _textH.Apply();
 }
Exemple #3
0
 public void UpdateValue()
 {
     Value = (Vector2)PropertyInfo.GetValue(Target);
     _textX.Apply();
     _textY.Apply();
 }