In an ArcEngine application, if I add a command (or tool) to a toolbar can I then hide that command (or tool)? I can do this:
int itemIndex = toolbar.AddItem("esriControls.ControlsMapFullExtentCommand", 0, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly);
IToolbarItem item = toolbar.GetItem(elementTool);
But I see nothing in IToolbarItem that sets visibility. Is this even possible?