feat: 1. add InnerRightContent to NumericUpDown

2. Add Small/Large size classes.
3. Use shared close button theme in Semi.Avalonia.
This commit is contained in:
rabbitism
2024-08-24 19:23:36 +08:00
parent fc26ec7ce5
commit 4989192d36
5 changed files with 48 additions and 26 deletions

View File

@@ -24,6 +24,7 @@ public partial class NumericUpDownDemoViewModel : ObservableObject
[ObservableProperty] private Array _arrayHorizontalContentAlignment;
[ObservableProperty] private HorizontalAlignment _horizontalContentAlignment = HorizontalAlignment.Center;
[ObservableProperty] private object? _innerLeftContent = "obj:0x";
[ObservableProperty] private object? _innerRightContent = "%";
[ObservableProperty] private string _watermark = "Water mark showed";
[ObservableProperty] private string _formatString = "X8";
[ObservableProperty] private Array _arrayParsingNumberStyle;