Skip to main content

MoveType Enum

Lists the values that specify how a layout item is inserted to another position.

Namespace: DevExpress.XtraLayout.Utils

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public enum MoveType

Members

Name Description
Inside

An item is inserted inside the specified item.

Outside

An item is inserted outside the specified item. In this case, the inserted item is reduced to its minimum size which is specified by its BaseLayoutItem.MinSize property.

Related API Members

The following properties accept/return MoveType values:

Remarks

To move an item to a specific position via code an LayoutItemDragController object should be created and passed to the BaseLayoutItem.Move method. The drag controller’s settings specify the processed layout item and the position to which it must be moved. This includes:

  • the target layout item before or after which the processed item is inserted;
  • whether the item is inserted before or after the target item;
  • whether the item is inserted inside or outside the target item, etc.

The values listed by the MoveType enumeration are used to specify whether the item is inserted inside or outside the specified item.

See Also