Skip to main content
A newer version of this page is available. .

LayoutItemDragController Members

Contains methods to move a layout item to a position next to another layout item.

Constructors

Name Description
LayoutItemDragController(BaseLayoutItem, BaseLayoutItem, InsertLocation, LayoutType) Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted next to the baseItem, occupying its largest part (typically, half the region).
LayoutItemDragController(BaseLayoutItem, BaseLayoutItem, MoveType, InsertLocation, LayoutType, Size) This member supports the internal infrastructure and is not intended to be used directly from your code.
LayoutItemDragController(BaseLayoutItem, BaseLayoutItem, MoveType, InsertLocation, LayoutType) Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted next to the baseItem.
LayoutItemDragController(BaseLayoutItem, BaseLayoutItem) Initializes a new LayoutItemDragController instance with settings specifying that the_dragItem_ should be inserted horizontally after the baseItem, occupying its largest part (typically, half the region).
LayoutItemDragController(BaseLayoutItem, LayoutItemDragController) Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted next to another item, as specified by the settings of the controller parameter.
LayoutItemDragController(BaseLayoutItem, LayoutGroup, Point) Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted at a certain position within a specific group.

Properties

Name Description
DragBounds This member supports the internal infrastructure and is not intended to be used directly from your code.
DragItem Gets the item to be inserted to a position, specified by the settings of the LayoutItemDragController object.
DragOutsideSize This member supports the internal infrastructure and is not intended to be used directly from your code.
HitInfo Gets an object that identifies an element located at the LayoutItemDragController.HitPoint point. This member is in effect if the current LayoutItemDragController object has been initiailized using a constructor with a Point parameter.
HitPoint Gets the point at which the LayoutItemDragController.DragItem will be inserted. This member is in effect if the current LayoutItemDragController object has been initialized using a constructor with a Point parameter.
InsertLocation Gets whether the LayoutItemDragController.DragItem is inserted before or after the LayoutItemDragController.Item.
Item Gets the item next to which the LayoutItemDragController.DragItem is inserted.
LayoutType Gets whether the LayoutItemDragController.DragItem is inserted horizontally or vertically next to the LayoutItemDragController.Item.
MoveType Gets whether the LayoutItemDragController.DragItem is inserted inside or outside the LayoutItemDragController.Item.
Rating This member supports the internal infrastructure and is not intended to be used directly from your code.
ShouldRestoreOriginalSize For internal use.

Methods

Name Description
Drag() Inserts the LayoutItemDragController.DragItem to a position, specified by the settings of the current LayoutItemDragController object. This method cannot be used to move items that do not belong to a LayoutControl.
DragWildItem() Inserts the orphan LayoutItemDragController.DragItem to a position specified by the settings of the current LayoutItemDragController object. This method cannot be used to move items that belong to a LayoutControl.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also