using Microsoft.UI.Xaml;
using Wino.Core.ViewModels;
using Wino.Core.WinUI;

namespace Wino.Views.Abstract;

public partial 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));
}
