Handles reordering group descriptors and adding DataGrid columns to the grouping panel.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DataGridGroupingPanelCollectionViewDragDropBehavior : CollectionViewDragDropBehavior
Inheritance: objectCollectionViewDragDropBehaviorDataGridGroupingPanelCollectionViewDragDropBehavior
Inherited Members
Constructors
public DataGridGroupingPanelCollectionViewDragDropBehavior()
Methods
Determines whether the current drop operation can be completed based on the drag and drop context. Override this method to provide custom validation logic for when drop operations are allowed.
public override bool CanDrop(CollectionViewDragDropContext state)
The context information about the current drag and drop operation.
Returns:True if the drop operation can be completed; otherwise, false.
Overrides:
Executes the drop operation, performing the actual data manipulation to complete the drag and drop. This method is called only when the item is dropped on a valid drop target. Override this method to provide custom drop logic.
public override void Drop(CollectionViewDragDropContext state)
The context information about the drag and drop operation being completed.
Overrides:
Determines the type of drop operation to perform based on the current drag and drop context. Override this method to provide custom logic for determining whether items should be moved, copied, or if the drop should be refused.
public override DropOperation GetDropOperation(CollectionViewDragDropContext state)
The context information about the current drag and drop operation.
Returns:A DropOperation value indicating the type of operation to perform.
Overrides: