主题设置完善

This commit is contained in:
rmbgame
2021-03-07 17:10:38 +08:00
parent 3a95b8b802
commit ec1e7200b4
16 changed files with 224 additions and 38 deletions
@@ -0,0 +1,42 @@
using ReactiveUI;
using System.Application.UI.Resx;
namespace System.Application.UI.ViewModels
{
public class ToastMessageViewModel : ViewModelBase
{
/// <summary>
/// 吐司消息标题
/// </summary>
private string? _Title;
public string? Title
{
get => _Title;
set => this.RaiseAndSetIfChanged(ref _Title, value);
}
/// <summary>
/// 消息
/// </summary>
private string? _Message;
public string? Message
{
get => _Message;
set => this.RaiseAndSetIfChanged(ref _Message, value);
}
/// <summary>
/// 显示状态
/// </summary>
private bool _IsVisible;
public bool IsVisible
{
get => _IsVisible;
set => this.RaiseAndSetIfChanged(ref _IsVisible, value);
}
}
}