Closes all items except the specified one within this item's container.
public bool CloseAllButThis( BaseLayoutItem item )
Public Function CloseAllButThis( item As BaseLayoutItem ) As Boolean
The only BaseLayoutItem element to remain opened within its parent container.
true, if all but the specified items were successfully closed; otherwise, false.
The method closes all child items within the item's container except the specified item object. Depending on the BaseLayoutItem.ClosingBehavior of the items closed (and the DockLayoutManager.ClosingBehavior of the parent dock layout manager), they are either moved to the closed panel collection, or removed.