TMusic/ViewModel/InfomationViewModel.cs
(完整代码) 941Busing CommunityToolkit.Mvvm.ComponentModel;
using MaterialDesignThemes.Wpf;
namespace TMusic.ViewModel
{
public class InfomationViewModel : ObservableObject
{
private string _title;
private string _text;
private PackIconKind _kind;
private bool _showCancalBtn;
private bool _showSureBtn;
public string Title { get => _title; set => SetProperty(ref _title, value); }
public string Text { get => _text; set => SetProperty(ref _text, value); }
public PackIconKind Kind { get => _kind; set => SetProperty(ref _kind, value); }
public bool ShowCancelBtn { get => _showCancalBtn; set => SetProperty(ref _showCancalBtn, value);}
public bool ShowSureBtn { get => _showSureBtn; set=>SetProperty(ref _showSureBtn, value);}
public InfomationViewModel()
{
ShowCancelBtn = true;
ShowSureBtn = true;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
