My Add-In has several Features which can be activated and deactivated. If a Feature is deactivated a Button should be removed from a menu. But a custom condition only deactivats Buttons. How do I remove/change visibility of a Button at runtime?
For menus check out DynamicMenus, you add their constituent controls at run-time.
I only need to remove one button of a group/menu, the rest of the menu should remain.
But thank you for your tip.
Thank you.
Hi
Buttons cannot be hidden at runtime, but the group that holds the button can be hidden by using conditions and states.
Thanks
Uma
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.