internal void SetDockLocation(DockItem item, string placement) { bool vis = item.Visible; DockItemStatus stat = item.Status; item.ResetMode(); container.Layout.RemoveItemRec(item); AddItemAtLocation(container.Layout, item, placement, vis, stat); }
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(); } }
internal void SetDockLocation (DockItem item, string placement) { bool vis = item.Visible; DockItemStatus stat = item.Status; item.ResetMode (); container.Layout.RemoveItemRec (item); AddItemAtLocation (container.Layout, item, placement, vis, stat); }