|
Toast Engine
|


Static Public Attributes | |
| static readonly StyledProperty< int > | ValueProperty |
| static readonly StyledProperty< int > | StepProperty |
| Static Public Attributes inherited from editor.Components.Elements.DragNumberBoxBase | |
| static readonly StyledProperty< string?> | UnitProperty |
| Optional suffix drawn after the number (e.g. "m", "kg"). | |
| static readonly StyledProperty< double > | MinimumProperty |
| static readonly StyledProperty< double > | MaximumProperty |
| static readonly StyledProperty< double > | DragSensitivityProperty |
| Pixels the pointer must travel to move the value by one step. | |
| static readonly StyledProperty< IBrush?> | EditBorderBrushProperty |
| static readonly DirectProperty< DragNumberBoxBase, bool > | IsEditingProperty |
| static readonly DirectProperty< DragNumberBoxBase, string > | DisplaySignProperty |
| static readonly DirectProperty< DragNumberBoxBase, string > | DisplayIntegerProperty |
| static readonly DirectProperty< DragNumberBoxBase, string > | DisplayPointProperty |
| static readonly DirectProperty< DragNumberBoxBase, string > | DisplayDigitsProperty |
Protected Member Functions | |
| override double | GetDouble () |
| override void | SetDouble (double value) |
| override string | RawEditText () |
| override bool | TryParseEdit (string text, out double value) |
| override void | RebuildDisplay () |
| override void | OnPropertyChanged (AvaloniaPropertyChangedEventArgs change) |
| Protected Member Functions inherited from editor.Components.Elements.DragNumberBoxBase | |
| double | GetDouble () |
| void | SetDouble (double value) |
| string | RawEditText () |
| bool | TryParseEdit (string text, out double value) |
| void | RebuildDisplay () |
| double | ClampDrag (double value) |
| void | SetDisplayParts (string sign, string integer, string point, string digits) |
| void | OnValueChanged () |
| override void | OnApplyTemplate (TemplateAppliedEventArgs e) |
Properties | |
| int | Value [get, set] |
| int | Step [get, set] |
| override double | CoarseStepAmount [get] |
| override double | FineStepAmount [get] |
| Properties inherited from editor.Components.Elements.DragNumberBoxBase | |
| string? | Unit [get, set] |
| double | Minimum [get, set] |
| double | Maximum [get, set] |
| double | DragSensitivity [get, set] |
| IBrush? | EditBorderBrush [get, set] |
| bool | IsEditing [get] |
| string | DisplaySign [get] |
| string | DisplayInteger [get] |
| string | DisplayPoint [get] |
| string | DisplayDigits [get] |
| override Type | StyleKeyOverride [get] |
| double | CoarseStepAmount [get] |
| double | FineStepAmount [get] |
|
static |
|
static |