Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Set ActiveItem
posted

How to set ActiveItem programatically. When I'm trying explorerBar.ActiveItem = explorerBar.ActiveGroup.Items[0] it throws an ArgumentException with message ActiveItem cannot be set - specified Item cannot be activated! (Item may be disabled or have a style that is not activatable like Separator or Label).

Style which is used for this instance is VisualStudio2005Toolbox.