maui
maui copied to clipboard
MenuFlyoutItem should have a FlyoutItemIsVisible property
Description
In order to be consistent with other flyout classes, MenuFlyoutItem should have a FlyoutItemIsVisible property.
Public API Changes
Microsoft.Maui.Controls.MenuFlyoutItem
Intended Use-Case
I need to be able to toggle the visibility of a menu item dynamically.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Maybe related to https://github.com/dotnet/maui/issues/10960?
What happens if you use IsVisible
instead of FlyoutItemIsVisible
?
Maybe related to https://github.com/dotnet/maui/issues/10960?
They're somewhat related, but substantially different. That one deals with FlyoutItem
specifically. However, I guess part of my point is that MenuFlyoutItem
really should be more similar to FlyoutItem
.
What happens if you use
IsVisible
instead ofFlyoutItemIsVisible
?
Those are subtly different. I specifically want the functionality of FlyoutItemIsVisible
, not IsVisible
.
The documentation says "an item can be hidden in the flyout with the FlyoutItemIsVisible
property, and removed from the flyout with the IsVisible
property" (see the link for more).
U can disabled it already FlyoutBehavouir i think it called then set this to disables