I've got a ToolWindow inside of an AutoHideLeftContainer. This ToolWindow contains a list control - when an item in the grid is selected, I update the contents of the client area of the window. What happens, however, is that once I click in the list, the ToolWindow no longer auto-hides. I _think_ this has something to do with the list is getting and holding on to focus, and the ToolWindow is thus not hiding.
What I've done to work around this is the following:I find this solution less than ideal, however. Is there some way to say to the ToolWindow "hide yourself right now!"?
David Mullin
What I've done to work around this is the following:
this.Dispatcher.BeginInvoke(DispatcherPriority.Background, (DispatcherOperationCallback)delegate
{
Page.MoveFocusFirstField();
return null;
}, null);
David Mullin