diff --git a/MCTG/Views/ContainerBase.xaml b/MCTG/Views/ContainerBase.xaml index 0c862d7..651d6b1 100644 --- a/MCTG/Views/ContainerBase.xaml +++ b/MCTG/Views/ContainerBase.xaml @@ -13,10 +13,15 @@ MinimumHeightRequest="80" VerticalOptions="StartAndExpand"/> - + HorizontalOptions="StartAndExpand"> + + + + (View)GetValue(MyContentProperty); set => SetValue(MyContentProperty, value); } + + public static readonly BindableProperty MyFlyoutContentProperty = + BindableProperty.Create("MyFlyoutContent", typeof(View), typeof(ContainerBase), new Grid()); + + public View MyFlyoutContent + { + get => (View)GetValue(MyFlyoutContentProperty); + set => SetValue(MyFlyoutContentProperty, value); + } } diff --git a/MCTG/Views/CustomFlyout.xaml b/MCTG/Views/ContainerFlyout.xaml similarity index 51% rename from MCTG/Views/CustomFlyout.xaml rename to MCTG/Views/ContainerFlyout.xaml index 36b747d..2bfa4c0 100644 --- a/MCTG/Views/CustomFlyout.xaml +++ b/MCTG/Views/ContainerFlyout.xaml @@ -1,7 +1,9 @@ @@ -14,30 +16,21 @@ BorderWidth="5" BorderColor="Black" IsEnabled="False"/>