最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

MAUI .NET 9 - Any way to remove the FlyoutIcon (without disabling it) or have the FlyoutIcon and the Back Icon at the same time

programmeradmin4浏览0评论

I want to display the Flyout Menu Icon and the Back Button at the same time. As I already have a Custom TitleView anyway on every page, it does not matter to me to either remove the default Flyout Menu Icon or have the MAUI to display both at the same time.

My App uses the Shell structure (which I highly regret at this point but now it would take me a couple of days to rebuild it). As of now, my Shell defines the FlyoutItems and displays the default FlyoutIcon. However, when I navigate to a details page, the FlyoutIcon is replaced with the Back Button. I do not want it to replace it it should instead display both. The other solution would be I have a the FlyoutIcon in my custom TitleView, however I also was not able to find any way to remove the FlyoutIcon without setting FlyoutBehavior to Disabled - which is also not a solution as it would block the opening of the FlyoutMenu completly (even if I try to open it via code).

Is there any solution for that?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论