internal override void RestoreAllocation() { base.RestoreAllocation(); item.UpdateVisibleStatus(); if (Status == DockItemStatus.Floating) { item.SetFloatMode(floatRect); } else if (Status == DockItemStatus.AutoHide) { item.SetAutoHideMode(barDocPosition, GetAutoHideSize(barDocPosition)); } else { item.ResetMode(); } if (!visibleFlag) { item.HideWidget(); } }