public void Activate()
{
if (DockHelper.IsDockStateAutoHide(this.DockState) && this.DockPanel.ActiveAutoHideContent != this.ActiveContent)
this.DockPanel.ActiveAutoHideContent = this.ActiveContent;
else if (!this.IsActivated && this.ActiveContent != null)
this.ActiveContent.DockHandler.Activate();
}