Datenschnittstelle erweitert
This commit is contained in:
26
GuiWPF/ViewModel/HomePageViewModel.cs
Normal file
26
GuiWPF/ViewModel/HomePageViewModel.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GuiWPF.ViewModel
|
||||
{
|
||||
public class HomePageViewModel : ViewModelBase
|
||||
{
|
||||
public HomePageViewModel(HomePage model)
|
||||
{
|
||||
this.Model = model;
|
||||
}
|
||||
public HomePage Model { get; private set; }
|
||||
public string PageTitle
|
||||
{
|
||||
get => this.Model.PageTitle;
|
||||
set
|
||||
{
|
||||
this.Model.PageTitle = value;
|
||||
this.OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user