17
Wino.Core.UWP/Views/Abstract/SettingsPageBase.cs
Normal file
17
Wino.Core.UWP/Views/Abstract/SettingsPageBase.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Windows.UI.Xaml;
|
||||
using Wino.Core.UWP;
|
||||
using Wino.Core.ViewModels;
|
||||
|
||||
namespace Wino.Views.Abstract
|
||||
{
|
||||
public class SettingsPageBase<T> : BasePage<T> where T : CoreBaseViewModel
|
||||
{
|
||||
public string Title
|
||||
{
|
||||
get { return (string)GetValue(TitleProperty); }
|
||||
set { SetValue(TitleProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TitleProperty = DependencyProperty.Register(nameof(Title), typeof(string), typeof(SettingsPageBase<T>), new PropertyMetadata(string.Empty));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user