27 lines
606 B
C#
27 lines
606 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
|
|
} |