Example #1
0
 public AllRecipePage(RecipePageViewModel obj)
 {
     r = new AllRecipeViewModel(obj);
     InitializeComponent();
     DataContext = r;
 }
 public RecipePage(Recipe recipe)
 {
     InitializeComponent();
     BindingContext = new RecipePageViewModel(recipe, Navigation);
 }
 public RecipePage()
 {
     r = new RecipePageViewModel();
     InitializeComponent();
     DataContext = r;
 }
Example #4
0
 public RecipeInfoPage(Product obj, RecipePageViewModel obj2)
 {
     r = new RecipeInfoViewModel(obj, obj2);
     InitializeComponent();
     DataContext = r;
 }