2020-04-07 10:19:14 -07: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-08-17 13:10:56 -07:00
|
|
|
|
using Microsoft.PowerToys.Settings.UI.Lib.ViewModels;
|
2020-03-30 02:02:25 -07:00
|
|
|
|
using Windows.UI.Xaml.Controls;
|
|
|
|
|
|
|
|
|
|
|
|
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-08-17 13:10:56 -07:00
|
|
|
|
public PowerPreviewViewModel viewModel { get; set; }
|
2020-03-30 02:02:25 -07:00
|
|
|
|
|
|
|
|
|
|
public PowerPreviewPage()
|
|
|
|
|
|
{
|
2020-08-17 13:10:56 -07:00
|
|
|
|
this.InitializeComponent();
|
|
|
|
|
|
viewModel = new PowerPreviewViewModel(ShellPage.SendDefaultIPCMessage);
|
|
|
|
|
|
DataContext = viewModel;
|
2020-03-30 02:02:25 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|