Hello,
You can set IsPresented="True/False"
to show (or hide) the Flyout page. But I have to say, we can't change the size.
This ContentPage
is set as FlyoutPage.Flyout Property, and we can check the source code , there is a _flyoutBounds
field for its layout .
<FlyoutPage.Flyout>
<pages:CustomFlyoutPageFlyout x:Name="FlyoutPage" />
</FlyoutPage.Flyout>
If we want to change the size, we need to change the Rectangle, but this property has been set as [EditorBrowsable(EditorBrowsableState.Never)]
, it's hidden, we can't use it.
For more details, refer to https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.editorbrowsableattribute?view=net-6.0
In addition, you could make a feature request for this issue at MAUI repo, all Xamarin feature requests will be moved to MAUI.
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.