Add IsVisible Support for ToolbarItem in .NET MAUI #2969
eduardoagr
started this conversation in
New Feature Discussions
Replies: 2 comments
-
|
I think this needs be raised against MAUI rather than the toolkit? You might be able to write something that binds to a collection and adds/removes items based on their visibility? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Well, I made this, I do not know if this is what you want `namespace SnapLabel.Controls; public static class ToolbarItemExtensions { }` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One limitation in .NET MAUI today is that ToolbarItem does not expose an IsVisible property. This makes it difficult to conditionally show or hide toolbar items based on platform, idiom, or runtime state. Developers often resort to duplicating logic in code‑behind, which clutters pages and leads to duplication issues when navigating back and forth.
Beta Was this translation helpful? Give feedback.
All reactions