LayoutGroup.Remove(BaseLayoutItem) Method
Removes the specified child item within the current group.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
item | BaseLayoutItem | The BaseLayoutItem object that should be removed. |
Remarks
This method allows child items to be removed from the current group. If an item is not a child it cannot be removed via this method.
This method hides the specified item by deleting it from the LayoutControl.Items collection. The item is not disposed of.
If the specified item is a group all its child items will be removed from the layout.
To dispose of an item use its Dispose method. If an item represents a LayoutControlItem object, its control is not destroyed.
See Also