Hi guys,
I am talking about contextmenu. I am trying to make a MenuItem not visible.
Let's say a user right-click on a button, a ContextMenu appear and give him some choises.
I have a javascript code that will determine what options (MenuItem) will be available for him.
I have managed to enable/disable the menuitems following this library but I can't figure out how to make the MenuItem not visible (rather than disabled).
Thanks in advance.
I am talking about contextmenu. I am trying to make a MenuItem not visible.
Let's say a user right-click on a button, a ContextMenu appear and give him some choises.
I have a javascript code that will determine what options (MenuItem) will be available for him.
I have managed to enable/disable the menuitems following this library but I can't figure out how to make the MenuItem not visible (rather than disabled).
Thanks in advance.