LayoutGroup.CanMoveItem(LayoutItemDragController) Method
Returns whether the specified item can be moved to the specified new position.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| controller | LayoutItemDragController | A LayoutItemDragController object that contains information on the item that would be moved and the position that the item would be moved to. |
Returns
| Type | Description |
|---|---|
| Boolean | true if the specified item can be moved to the specified new position; otherwise, false. |
Remarks
Before moving an item to a new position, you can use the CanMoveItem property to check whether the item can be moved. To move an item use the BaseLayoutItem.Move method.
See Also