mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 10:10:48 +01:00
12 lines
408 B
C#
12 lines
408 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace Needlework.Net.Desktop.ViewModels
|
|
{
|
|
|
|
public abstract partial class PageBase(string displayName, string icon, int index = 0) : ObservableValidator
|
|
{
|
|
[ObservableProperty] private string _displayName = displayName;
|
|
[ObservableProperty] private string _icon = icon;
|
|
[ObservableProperty] private int _index = index;
|
|
}
|
|
} |