BaseLayoutItem.CanMove(LayoutItemDragController) Method

Returns whether the layout item can be moved to a specific position.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public virtual bool CanMove(
    LayoutItemDragController controller
)
Public Overridable Function CanMove(
    controller As LayoutItemDragController
) As Boolean

Parameters

Name Type Description
controller LayoutItemDragController

A LayoutItemDragController object whose settings determine the position to which the layout item should be moved.

Returns

Type Description
Boolean

true if the layout item can be moved to a specific position; otherwise, false.

Remarks

To move an item to a specific position amongst the other items use the BaseLayoutItem.Move method.

See Also