27 lines
606 B
C#
27 lines
606 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WPF
|
|
{
|
|
public class SettingsPageViewModel : ViewModelBase
|
|
{
|
|
public SettingsPageViewModel(SettingsPage model)
|
|
{
|
|
this.Model = model;
|
|
}
|
|
public SettingsPage Model { get; private set; }
|
|
public string PageTitle
|
|
{
|
|
get => this.Model.PageTitle;
|
|
set
|
|
{
|
|
this.Model.PageTitle = value;
|
|
this.OnPropertyChanged("PageTitle");
|
|
}
|
|
}
|
|
}
|
|
}
|