public TextField( Binding <string> value = null, string placeholder = null, Action <string> onEditingChanged = null, Action <string> onCommit = null) : base(value, nameof(Text)) { Placeholder = placeholder; OnEditingChanged = new MulticastAction <string>(value, onEditingChanged); OnCommit = onCommit; }
public Slider( Binding <float> value = null, float from = 0, float through = 100, float by = 1, Action <float> onEditingChanged = null) : base(value, nameof(Value)) { From = from; Through = through; By = by; OnEditingChanged = new MulticastAction <float>(value, onEditingChanged); }
public Toggle( Binding <bool> value = null, Action <bool> onChanged = null) : base(value, nameof(IsOn)) { IsOnChanged = new MulticastAction <bool>(value, onChanged); }