Back to Devexpress

BaseLayoutItem.CanMove(LayoutItemDragController) Method

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-dot-canmove-x28-devexpress-dot-xtralayout-dot-customization-dot-layoutitemdragcontroller-x29.md

latest1.8 KB
Original Source

BaseLayoutItem.CanMove(LayoutItemDragController) Method

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
controllerLayoutItemDragController

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

|

Returns

TypeDescription
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

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace