更新整理
This commit is contained in:
27
WPFluent.Gallery/Models/WindowCard.cs
Normal file
27
WPFluent.Gallery/Models/WindowCard.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// This Source Code Form is subject to the terms of the MIT License.
|
||||
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
|
||||
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
|
||||
// All Rights Reserved.
|
||||
|
||||
using WPFluent.Controls;
|
||||
|
||||
namespace WPFluent.Gallery.Models;
|
||||
|
||||
public record WindowCard
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Description { get; init; }
|
||||
|
||||
public SymbolRegular Icon { get; init; }
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
public WindowCard(string name, string description, SymbolRegular icon, string value)
|
||||
{
|
||||
Name = name;
|
||||
Description = description;
|
||||
Icon = icon;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user