protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            entryType = (EntryType.Types)(Enum.Parse(typeof(EntryType.Types), NavigationContext.QueryString["entryType"]));

            if(this.DataContext == null)
            {
                SetViewModel();
            }
        }
示例#2
0
 public MenuOption(string name, string description, EntryType.Types entryType)
 {
     Name = name;
     Description = description;
     EntryType = entryType;
 }