Files
Needlework.Net/Needlework.Net.Desktop/ViewModels/PageBase.cs
BlossomiShymae a8741cd352 WIP
2024-08-02 02:25:17 -05:00

13 lines
450 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using Material.Icons;
namespace Needlework.Net.Desktop.ViewModels
{
public abstract partial class PageBase(string displayName, MaterialIconKind icon, int index = 0) : ObservableValidator
{
[ObservableProperty] private string _displayName = displayName;
[ObservableProperty] private MaterialIconKind _icon = icon;
[ObservableProperty] private int _index = index;
}
}