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

WinExplorerView.GetDragItemInfo() Method

Retrieves information about the current position of the dragged WinExplorerView item.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public WinExplorerViewDragItemInfo GetDragItemInfo()

Returns

Type Description
DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewDragItemInfo

A WinExplorerViewDragItemInfo object that stores information about the current position of the dragged WinExplorerView item.

Remarks

Call the GetDragItemInfo method inside events that fire during item drag-and-drop operations (e.g., the Control.DragDrop event) to retrieve a WinExplorerViewDragItemInfo object. This object provides access to the following properties:

  • HoveredItemInfo

    A regular WinExplorerItemViewInfo object that stores information on the currently hovered WinExplorerView item.

  • DragPosition

    Gets or sets whether the dragged item will be placed before or after the hovered element when a user releases a mouse button.

If you implement item dragging in WinExplorerView, set the WinExplorerViewOptionsView.ShowDropMark property to true to provide the visual drop feedback.

See Also