WaitLayer3 - Dynamischer Text
This commit is contained in:
31
BeWo/ViewModel/View/WindowViewModel.cs
Normal file
31
BeWo/ViewModel/View/WindowViewModel.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BeWo.ViewModel.View
|
||||
{
|
||||
public class WindowViewModel : AbstractBaseVM
|
||||
{
|
||||
private bool _IsWaiting = false;
|
||||
private string _WaitingText = string.Empty;
|
||||
|
||||
public WindowViewModel()
|
||||
{
|
||||
WaitingText = "Bitte warten...";
|
||||
}
|
||||
|
||||
public bool IsWaiting
|
||||
{
|
||||
get => _IsWaiting;
|
||||
set => SetProperty(ref _IsWaiting, value, nameof(IsWaiting));
|
||||
}
|
||||
|
||||
public string WaitingText
|
||||
{
|
||||
get => _WaitingText;
|
||||
set => SetProperty(ref _WaitingText, value, nameof(WaitingText));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user