Files
modernkeepass/Win10App/Views/EntryPage.xaml.cs
Geoffroy BONNEVILLE 14cd3ab57a WIP Windows 10
Dependencies finally installed
Removal of useless code
Big cleanup in XAML styles (override colors the correct way)
2020-04-29 16:39:20 +02:00

21 lines
474 B
C#

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;
}
}
}