LayoutController.Restore(BaseLayoutItem) Method
Restores the specified hidden item and adds it to the layout.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.1.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Parameters
Name | Type | Description |
---|---|---|
item | BaseLayoutItem | A BaseLayoutItem object that is a hidden item to be restored. |
Returns
Type | Description |
---|---|
Boolean | A Boolean value that indicates that the item has been successfully restored. |
Remarks
The DockLayoutManager.LayoutItemRestored event fires when the item is restored.
A hidden item cannot be restored if the BaseLayoutItem.AllowRestore option is set to false
.
You can use the LayoutController.HiddenItems collection to access hidden items.
Users can access hidden items in the Customization Window at application runtime. To hide an item, they can right-click it and select the Hide item menu item from the context menu. To restore a hidden item, they can right-click the item in the Customization Window and select Restore item.