feat: add selection list.

This commit is contained in:
rabbitism
2024-02-08 18:17:08 +08:00
parent 31b25a4e41
commit da511c6078
10 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
namespace Ursa.Demo.ViewModels;
public class SelectionListDemoViewModel: ObservableObject
{
public ObservableCollection<string> Items { get; set; }
public SelectionListDemoViewModel()
{
Items = new ObservableCollection<string>()
{
"Ding", "Otter", "Husky", "Mr. 17", "Cass"
};
}
}