urge
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9a03d8c117
commit
47ef6838a4
@ -1,49 +1,49 @@
|
||||
using DataPersistence;
|
||||
using Model;
|
||||
|
||||
namespace Views;
|
||||
|
||||
public partial class ContainerFlyout : ContentView
|
||||
{
|
||||
using DataPersistence;
|
||||
using Model;
|
||||
|
||||
namespace Views;
|
||||
|
||||
public partial class ContainerFlyout : ContentView
|
||||
{
|
||||
public DataManager DataMgr => (App.Current as App).DataMgr;
|
||||
public User user => (App.Current as App).user;
|
||||
|
||||
|
||||
public ContainerFlyout()
|
||||
public User user => (App.Current as App).user;
|
||||
|
||||
|
||||
public ContainerFlyout()
|
||||
{
|
||||
InitializeComponent();
|
||||
BindingContext = this;
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Bind MyFlyoutContent
|
||||
public static readonly BindableProperty MyFlyoutContentProperty =
|
||||
BindableProperty.Create("MyFlyoutContent", typeof(View), typeof(ContainerFlyout), new Grid());
|
||||
|
||||
public View MyFlyoutContent
|
||||
{
|
||||
get => (View)GetValue(MyFlyoutContentProperty);
|
||||
set => SetValue(MyFlyoutContentProperty, value);
|
||||
}
|
||||
|
||||
// Bind IsNotConnected
|
||||
public static readonly BindableProperty IsNotConnectedProperty =
|
||||
BindableProperty.Create("IsNotConnected", typeof(bool), typeof(Button), true);
|
||||
|
||||
public bool IsNotConnected
|
||||
{
|
||||
get => (bool)GetValue(IsNotConnectedProperty);
|
||||
set => SetValue(IsNotConnectedProperty, value);
|
||||
}
|
||||
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Bind MyFlyoutContent
|
||||
public static readonly BindableProperty MyFlyoutContentProperty =
|
||||
BindableProperty.Create("MyFlyoutContent", typeof(View), typeof(ContainerFlyout), new Grid());
|
||||
|
||||
public View MyFlyoutContent
|
||||
{
|
||||
get => (View)GetValue(MyFlyoutContentProperty);
|
||||
set => SetValue(MyFlyoutContentProperty, value);
|
||||
}
|
||||
|
||||
// Bind IsNotConnected
|
||||
public static readonly BindableProperty IsNotConnectedProperty =
|
||||
BindableProperty.Create("IsNotConnected", typeof(bool), typeof(Button), true);
|
||||
|
||||
public bool IsNotConnected
|
||||
{
|
||||
get => (bool)GetValue(IsNotConnectedProperty);
|
||||
set => SetValue(IsNotConnectedProperty, value);
|
||||
}
|
||||
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue