35 lines
663 B
C#
35 lines
663 B
C#
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...";
|
|
|
|
if(BeWoApp.IsInDesignMode)
|
|
IsWaiting = true;
|
|
}
|
|
|
|
public bool IsWaiting
|
|
{
|
|
get => _IsWaiting;
|
|
set => SetProperty(ref _IsWaiting, value, nameof(IsWaiting));
|
|
}
|
|
|
|
public string WaitingText
|
|
{
|
|
get => _WaitingText;
|
|
set => SetProperty(ref _WaitingText, value, nameof(WaitingText));
|
|
}
|
|
}
|
|
}
|