mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-21 17:13:09 +08:00
20 lines
448 B
C#
20 lines
448 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);
|
|
}
|
|
|
|
protected void InvokeOnUIDispatcher(Action action)
|
|
{
|
|
MainThreadDesktop.BeginInvokeOnMainThread(action);
|
|
}
|
|
}
|
|
} |