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

DragRowEventArgs Class

Provides common data for native drag-specific events in the VGridControlBase descendants.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public class DragRowEventArgs :
    RowEventArgs

#Remarks

This class is used to provide data for the VGridControlBase.ProcessDragRow event. At the same time, the DragRowEventArgs class serves as the base for classes providing data for the VGridControlBase.StartDragRow and VGridControlBase.EndDragRow events. All these events are designed to handle row drag and drop operations initiated within the VGridControlBase descendants.

The DragRowEventArgs class introduces a DragRowEventArgs.ScreenLocation property, defining the current mouse cursor position, an DragRowEventArgs.Effect property, specifying the allowed drag operation effect and an inherited RowEventArgs.Row property providing access to the row whose header is being dragged.

Instances of the DragRowEventArgs class are automatically created and passed to native drag-specific events of the VGridControlBase descendants.

See Also