private void MakeSlideIn()
{
// Check to see if we allowed to perform operations
if (!Disposing && !IsDisposed)
{
// Switch to sliding inwards by changing state and starting slide timer
_state = DockingAutoHiddenShowState.SlidingIn;
AutoHiddenShowingStateEventArgs args = new AutoHiddenShowingStateEventArgs(_page, _state);
_slideTimer.Start();
// If the dockspace has the focus we need to push focus elsewhere
if (DockspaceControl.ContainsFocus)
{
DockspaceControl.CellLosesFocus -= new EventHandler<WorkspaceCellEventArgs>(OnDockspaceCellLosesFocus);
_dummyTarget.Select();
}
// Raises event to indicate change in auto hidden showing state
OnAutoHiddenShowingStateChanged(args);
}
}