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