merge Alexandre's branch
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
825acb7707
@ -1,18 +1,32 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
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 RecipeTitleProperty =
|
||||
BindableProperty.Create("RecipeTitle", typeof(string), typeof(Label));
|
||||
|
||||
public string RecipeTitle
|
||||
{
|
||||
get => (string)GetValue(RecipeTitleProperty);
|
||||
set => SetValue(RecipeTitleProperty, value);
|
||||
}
|
||||
|
||||
private async void ImageButton_Clicked(object sender, EventArgs e)
|
||||
{
|
||||
await Navigation.PushModalAsync(new ViewRecette());
|
||||
}
|
||||
}
|
||||
|
@ -1,24 +1,24 @@
|
||||
namespace Views;
|
||||
|
||||
public partial class ReturnButton : ContentView
|
||||
{
|
||||
public ReturnButton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
// bind NeedReturn
|
||||
public static readonly BindableProperty NeedReturnProperty =
|
||||
BindableProperty.Create("NeedReturn", typeof(bool), typeof(Border), false);
|
||||
|
||||
public bool NeedReturn
|
||||
{
|
||||
get => (bool)GetValue(NeedReturnProperty);
|
||||
set => SetValue(NeedReturnProperty, value);
|
||||
namespace Views;
|
||||
|
||||
public partial class ReturnButton : ContentView
|
||||
{
|
||||
public ReturnButton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void OnClickedReturn(object sender, EventArgs e)
|
||||
{
|
||||
// bind NeedReturn
|
||||
public static readonly BindableProperty NeedReturnProperty =
|
||||
BindableProperty.Create("NeedReturn", typeof(bool), typeof(Border), false);
|
||||
|
||||
public bool NeedReturn
|
||||
{
|
||||
get => (bool)GetValue(NeedReturnProperty);
|
||||
set => SetValue(NeedReturnProperty, value);
|
||||
}
|
||||
|
||||
public void OnClickedReturn(object sender, EventArgs e)
|
||||
{
|
||||
Navigation.PopModalAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue