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; }
public RecipeInfoPage(Product obj, RecipePageViewModel obj2) { r = new RecipeInfoViewModel(obj, obj2); InitializeComponent(); DataContext = r; }