mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
WIP Windows 10
Dependencies finally installed Removal of useless code Big cleanup in XAML styles (override colors the correct way)
This commit is contained in:
21
Win10App/Views/EntryPage.xaml.cs
Normal file
21
Win10App/Views/EntryPage.xaml.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
using ModernKeePass.ViewModels.ListItems;
|
||||
|
||||
namespace ModernKeePass.Views
|
||||
{
|
||||
public partial class EntryPage
|
||||
{
|
||||
public EntryItemVm Vm { get; set; }
|
||||
|
||||
public EntryPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedTo(e);
|
||||
if (e.Parameter is EntryItemVm entry) Vm = entry;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user