You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
618 B

using ReactiveUI;
using HeroIconsAvalonia.Enums;
namespace AuroraDesk.Core.Entities;
/// <summary>
/// HeroIcons 图标数据模型
/// </summary>
public class HeroIconItem : ReactiveObject
{
private IconType _iconType;
private IconKind _iconKind = IconKind.Outline;
public IconType IconType
{
get => _iconType;
set => this.RaiseAndSetIfChanged(ref _iconType, value);
}
public IconKind IconKind
{
get => _iconKind;
set => this.RaiseAndSetIfChanged(ref _iconKind, value);
}
public string DisplayName => $"{IconType} ({IconKind})";
}