private void InitializeComponent() { global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(BusinessRegistrationFormPage)); RecipeName = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::CookTime.Controls.BorderlessEntry>(this, "RecipeName"); RecipeAuthor = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::CookTime.Controls.BorderlessEntry>(this, "RecipeAuthor"); CustomDatePicker = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::CookTime.Controls.CalenderDatePicker>(this, "CustomDatePicker"); DishType = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.ComboBox.SfComboBox>(this, "DishType"); Servings = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::CookTime.Controls.BorderlessEntry>(this, "Servings"); FoodType = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.ComboBox.SfComboBox>(this, "FoodType"); DifficultyFactor = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.ComboBox.SfComboBox>(this, "DifficultyFactor"); PreparationTime = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.ComboBox.SfComboBox>(this, "PreparationTime"); RecipeIngredients = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.RichTextEditor.SfRichTextEditor>(this, "RecipeIngredients"); RecipeTags = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.ComboBox.SfComboBox>(this, "RecipeTags"); PreparationSteps = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.RichTextEditor.SfRichTextEditor>(this, "PreparationSteps"); Price = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::CookTime.Controls.BorderlessEntry>(this, "Price"); rte = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.RichTextEditor.SfRichTextEditor>(this, "rte"); SubmitButton = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.Buttons.SfButton>(this, "SubmitButton"); }
private void InitializeComponent() { global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(MainPage)); richTextEditor = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Syncfusion.XForms.RichTextEditor.SfRichTextEditor>(this, "richTextEditor"); }