Back to Devexpress

WinExplorerView.GetDragItemInfo() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerview-b28ff5b3.md

latest2.4 KB
Original Source

WinExplorerView.GetDragItemInfo() Method

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

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public WinExplorerViewDragItemInfo GetDragItemInfo()
vb
Public Function GetDragItemInfo As WinExplorerViewDragItemInfo

Returns

TypeDescription
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

  • DragPosition

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

See Also

ItemDrag

ShowDropMark

WinExplorerView Class

WinExplorerView Members

DevExpress.XtraGrid.Views.WinExplorer Namespace