2020-04-08 01:19:14 +08:00
|
|
|
// Copyright (c) Microsoft Corporation
|
|
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
using Microsoft.PowerToys.Settings.UI.ViewModels;
|
|
|
|
using Windows.UI.Xaml.Controls;
|
2020-03-12 14:25:24 +08:00
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Views
|
|
|
|
{
|
2020-03-25 10:55:02 +08:00
|
|
|
/// <summary>
|
|
|
|
/// General Settings Page.
|
|
|
|
/// </summary>
|
2020-03-12 14:25:24 +08:00
|
|
|
public sealed partial class GeneralPage : Page
|
|
|
|
{
|
2020-03-25 10:55:02 +08:00
|
|
|
/// <summary>
|
2020-04-18 06:25:08 +08:00
|
|
|
/// Gets or sets view model.
|
2020-03-25 10:55:02 +08:00
|
|
|
/// </summary>
|
2020-04-18 06:25:08 +08:00
|
|
|
public GeneralViewModel ViewModel { get; set; }
|
2020-03-12 14:25:24 +08:00
|
|
|
|
2020-03-25 10:55:02 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="GeneralPage"/> class.
|
|
|
|
/// General Settings page constructor.
|
|
|
|
/// </summary>
|
2020-03-12 14:25:24 +08:00
|
|
|
public GeneralPage()
|
|
|
|
{
|
2020-08-07 02:16:25 +08:00
|
|
|
InitializeComponent();
|
2020-03-25 10:55:02 +08:00
|
|
|
|
2020-08-07 02:16:25 +08:00
|
|
|
ViewModel = new GeneralViewModel();
|
2020-08-08 03:00:48 +08:00
|
|
|
GeneralView.DataContext = ViewModel;
|
2020-03-25 10:55:02 +08:00
|
|
|
}
|
2020-03-12 14:25:24 +08:00
|
|
|
}
|
2020-04-02 21:08:56 +08:00
|
|
|
}
|