feat: init avalonia demo.

This commit is contained in:
NaBian committed 2024-07-14 22:23:46 +08:00
1 parent adb6355884
commit 63bf5c6aa7
95 files changed
+20896 -2634

No files matched your search

@@ -0,0 +1,29 @@
using System.Collections.Generic;
using CommunityToolkit.Mvvm.ComponentModel;
namespace HandyControlDemo.Data;
public class DemoInfoModel : ObservableObject
{
public string Key { get; set; } = string.Empty;
private string _title = string.Empty;
public string Title
{
get => _title;
set => SetProperty(ref _title, value);
}
private int _selectedIndex;
public int SelectedIndex
{
get => _selectedIndex;
set => SetProperty(ref _selectedIndex, value);
}
public bool IsGroupEnabled { get; set; }
public IList<DemoItemModel> DemoItemList { get; set; } = [];
}