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.
|
|
|
|
|
|
2020-04-18 06:25:08 +08:00
|
|
|
|
using System;
|
2020-04-08 01:19:14 +08:00
|
|
|
|
using Microsoft.PowerToys.Settings.UI.Lib;
|
2020-04-18 06:25:08 +08:00
|
|
|
|
using Microsoft.PowerToys.Settings.UI.ViewModels;
|
2020-03-30 17:02:25 +08:00
|
|
|
|
using Windows.UI.Xaml;
|
|
|
|
|
using Windows.UI.Xaml.Controls;
|
|
|
|
|
using Windows.UI.Xaml.Navigation;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Views
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class PowerPreviewPage : Page
|
|
|
|
|
{
|
2020-04-18 06:25:08 +08:00
|
|
|
|
public PowerPreviewViewModel viewModel { get; set; }
|
2020-03-30 17:02:25 +08:00
|
|
|
|
|
|
|
|
|
public PowerPreviewPage()
|
|
|
|
|
{
|
2020-04-18 06:25:08 +08:00
|
|
|
|
this.InitializeComponent();
|
|
|
|
|
viewModel = new PowerPreviewViewModel();
|
|
|
|
|
this.PowerPreviewSettingsView.DataContext = viewModel;
|
2020-03-30 17:02:25 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|