整理控件库
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
xmlns:models="clr-namespace:WPFluent.Gallery.Models"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Title="WindowsPage"
|
||||
controls:PageControlDocumentation.Show="False"
|
||||
|
||||
d:DataContext="{d:DesignInstance local:WindowsPage,
|
||||
IsDesignTimeCreatable=False}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
|
||||
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
|
||||
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
mc:Ignorable="d">
|
||||
|
||||
|
||||
@@ -8,14 +8,14 @@ using WPFluent.Gallery.ViewModels.Pages.Windows;
|
||||
|
||||
namespace WPFluent.Gallery.Views.Pages.Windows;
|
||||
|
||||
public partial class WindowsPage : INavigableView<WindowsViewModel>
|
||||
public partial class WindowsPage
|
||||
{
|
||||
public WindowsViewModel ViewModel { get; }
|
||||
|
||||
public WindowsPage(WindowsViewModel viewModel)
|
||||
public WindowsPage()
|
||||
{
|
||||
ViewModel = viewModel;
|
||||
DataContext = this;
|
||||
ViewModel = new WindowsViewModel(new Services.WindowsProviderService());
|
||||
DataContext = ViewModel;
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user