整理控件库
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
// This Source Code Form is subject to the terms of the MIT License.
|
||||
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
|
||||
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
|
||||
// All Rights Reserved.
|
||||
|
||||
using WPFluent.Controls;
|
||||
using WPFluent.Gallery.ViewModels;
|
||||
using WPFluent.Gallery.ViewModels.Pages;
|
||||
|
||||
namespace WPFluent.Gallery.Views.Pages;
|
||||
|
||||
public partial class SettingsPage : INavigableView<SettingsViewModel>
|
||||
public partial class SettingsPage
|
||||
{
|
||||
public SettingsViewModel ViewModel { get; }
|
||||
|
||||
public SettingsPage(SettingsViewModel viewModel)
|
||||
public SettingsPage()
|
||||
{
|
||||
ViewModel = viewModel;
|
||||
DataContext = this;
|
||||
ViewModel = new SettingsViewModel();
|
||||
DataContext = ViewModel;
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user