Files
SteamTools/System.Application.SteamTools.Client.Desktop/UI/ViewModels/Base/WindowViewModel.cs
T
2021-03-03 18:32:13 +08:00

22 lines
497 B
C#

using ReactiveUI;
namespace System.Application.UI.ViewModels
{
public class WindowViewModel : ViewModelBase
{
string title = string.Empty;
public string Title
{
get => title;
set => this.RaiseAndSetIfChanged(ref title, value);
}
public bool IsInitialized { get; set; }
protected void InvokeOnUIDispatcher(Action action)
{
MainThreadDesktop.BeginInvokeOnMainThread(action);
}
}
}