You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
531 B
25 lines
531 B
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);
|
|
}
|
|
|
|
public void OnClickedReturn(object sender, EventArgs e)
|
|
{
|
|
Navigation.PopModalAsync();
|
|
}
|
|
}
|