namespace Views; public partial class RecipeCase : ContentView { public RecipeCase() { InitializeComponent(); } public static readonly BindableProperty CaseImageSourceProperty = BindableProperty.Create("CaseImageSource", typeof(ImageSource), typeof(Image)); public ImageSource CaseImageSource { get => (ImageSource)GetValue(CaseImageSourceProperty); set => SetValue(CaseImageSourceProperty, value); } public static readonly BindableProperty TitleProperty = BindableProperty.Create("Title", typeof(string), typeof(Label)); public string Title { get => (string)GetValue(TitleProperty); set => SetValue(TitleProperty, value); } }