mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00
21 lines
502 B
C#
21 lines
502 B
C#
using Windows.UI.Xaml.Navigation;
|
|
using ModernKeePass.ViewModels.ListItems;
|
|
|
|
namespace ModernKeePass.Views
|
|
{
|
|
public partial class EntryPage
|
|
{
|
|
public EntryItemViewModel ViewModel { get; set; }
|
|
|
|
public EntryPage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
protected override void OnNavigatedTo(NavigationEventArgs e)
|
|
{
|
|
base.OnNavigatedTo(e);
|
|
if (e.Parameter is EntryItemViewModel entry) ViewModel = entry;
|
|
}
|
|
}
|
|
} |