feat: WIP.

This commit is contained in:
Zhang Dian
2024-06-05 10:31:56 +08:00
parent 0a30d01b7d
commit fd7010967e
7 changed files with 67 additions and 51 deletions

View File

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