Shared core and views part 1
This commit is contained in:
16
Wino.Mail.WinUI/Views/Abstract/SettingsPageBase.cs
Normal file
16
Wino.Mail.WinUI/Views/Abstract/SettingsPageBase.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.UI.Xaml;
|
||||
using Wino.Mail.ViewModels;
|
||||
|
||||
namespace Wino.Views.Abstract
|
||||
{
|
||||
public class SettingsPageBase<T> : BasePage<T> where T : BaseViewModel
|
||||
{
|
||||
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