feat: add property Size.

This commit is contained in:
Zhang Dian
2024-06-07 18:09:36 +08:00
parent 8c53aea890
commit 9a79d7213c
6 changed files with 46 additions and 7 deletions

View File

@@ -12,9 +12,9 @@ public partial class RatingDemoViewModel : ViewModelBase
[ObservableProperty] private double _value;
// [ObservableProperty] private object _character;
[ObservableProperty] private int _count = 5;
[ObservableProperty] private double _defaultValue = 2.3;
[ObservableProperty] private int _count = 5;
// [ObservableProperty] private object _character;
public ObservableCollection<string> Tooltips { get; set; } = ["1", "2", "3", "4", "5"];
}