I don't understand, I have a toolbar with buttons bind to custom commands.
Also I have an expandable control docked to the left of window - kinda NavPanel. (Devcomponents' NavigationPane to be exact)
Now, everytime when it's collapsed or expanded, buttons in the toolbar become disabled and stay like that till the focus changes.
Of course, it's simple to change the focus inside Collapsed and Expanded events, but unfortunately it works only in the first and ignores the second one and all buttons stay disabled.
It seems that it something to do with CommandTarget which I haven't define nowhere. Maybe I should? Any ideas?