misc: rename & remove.

This commit is contained in:
Zhang Dian
2024-06-07 18:20:33 +08:00
parent 9a79d7213c
commit 6a21aec1dc
6 changed files with 8 additions and 41 deletions

View File

@@ -1,5 +1,4 @@
using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
namespace Ursa.Demo.ViewModels;
@@ -7,14 +6,8 @@ public partial class RatingDemoViewModel : ViewModelBase
{
[ObservableProperty] private bool _allowClear = true;
[ObservableProperty] private bool _allowHalf = true;
[ObservableProperty] private bool _allowFocus;
[ObservableProperty] private bool _isEnabled = true;
[ObservableProperty] private double _value;
[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"];
}