PowerToys/src/core/Microsoft.PowerToys.Settings.UI/Views/FancyZonesPage.xaml.cs

35 lines
1.0 KiB
C#
Raw Normal View History

// 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-17 02:45:27 +08:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Microsoft.PowerToys.Settings.UI.ViewModels;
2020-04-17 02:45:27 +08:00
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
2020-04-17 02:45:27 +08:00
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace Microsoft.PowerToys.Settings.UI.Views
{
public sealed partial class FancyZonesPage : Page
{
2020-04-17 02:45:27 +08:00
public FancyZonesViewModel ViewModel { get; set; }
public FancyZonesPage()
{
2020-04-17 02:45:27 +08:00
this.InitializeComponent();
ViewModel = new FancyZonesViewModel();
this.FZSettingsView.DataContext = ViewModel;
}
}
}