更新
This commit is contained in:
@@ -1,17 +1,13 @@
|
||||
using WPFluent.Gallery.ViewModels.Pages.Collections;
|
||||
using WPFluent.Gallery.ViewModels.Pages;
|
||||
|
||||
namespace WPFluent.Gallery.Views.Pages.Collections;
|
||||
|
||||
public partial class CollectionsPage
|
||||
{
|
||||
public CollectionsViewModel ViewModel { get; }
|
||||
|
||||
public CollectionsPage()
|
||||
{
|
||||
ViewModel = new();
|
||||
DataContext = ViewModel;
|
||||
|
||||
|
||||
DataContext = new CollectionsViewModel();
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user