整理控件库

This commit is contained in:
GG Z
2025-05-05 17:04:06 +08:00
parent 74532b77be
commit 3eaad7566e
283 changed files with 2156 additions and 17846 deletions

View File

@@ -1,21 +0,0 @@
// 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.
namespace WPFluent.Gallery.ViewModels.Pages.Navigation;
public partial class MultilevelNavigationSample(INavigationService navigationService)
{
[RelayCommand]
private void NavigateForward(Type type)
{
_ = navigationService.NavigateWithHierarchy(type);
}
[RelayCommand]
private void NavigateBack()
{
_ = navigationService.GoBack();
}
}

View File

@@ -23,4 +23,17 @@ public partial class NavigationViewModel : ViewModel
PageType = x.PageType,
})
);
[ObservableProperty]
private List<string> strings = new List<string>()
{
"Navigation",
"NavigationPage",
"NavigationCard",
"NavigationViewModel",
"NavigationPage.xaml",
"NavigationPage.xaml.cs",
"ControlPages",
"GalleryPageAttribute",
"GalleryPage"
};
}