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

WinExplorerView.GetDragItemInfo() Method

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

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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