Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseLayoutItem.CanMove(LayoutItemDragController) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual bool CanMove(
    LayoutItemDragController controller
)

#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