menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColumnDragDropController - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColumnDragDropController

    Represents a base class that provides the base implementation for drag-and-drop operations in SFDataGrid.

    Inheritance
    System.Object
    ColumnDragDropController
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.DataGrid.Interactivity
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class ColumnDragDropController : IDisposable

    Constructors

    ColumnDragDropController(TableControl, GroupPanel)

    Initializes a new instance of the ColumnDragDropController class.

    Declaration
    public ColumnDragDropController(TableControl tableControl, GroupPanel groupPanel)
    Parameters
    Type Name Description
    TableControl tableControl

    The TableControl that needs to add the drag and drop controller.

    GroupPanel groupPanel

    The GroupPanel.

    Methods

    CanShowPopup(GridColumn)

    Determines whether the popup is displayed on the specified column.

    Declaration
    protected virtual bool CanShowPopup(GridColumn column)
    Parameters
    Type Name Description
    GridColumn column

    The corresponding column to decide whether the popup is displayed on it or not.

    Returns
    Type Description
    System.Boolean

    Returns true if the popup is displayed on the column; otherwise, false.

    Dispose()

    Clean up any resources being used.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes of the resources used by the StackedHeaderRow.

    Declaration
    protected virtual void Dispose(bool isDispose)
    Parameters
    Type Name Description
    System.Boolean isDispose

    Indicates whether the call is from the Dispose method.

    PopupDroppedOnGroupDropArea(GridColumn, MouseEventArgs)

    Invoked when the popup content is dropped on the GroupDropArea in SfDataGrid.

    Declaration
    protected virtual void PopupDroppedOnGroupDropArea(GridColumn draggingColumn, MouseEventArgs e)
    Parameters
    Type Name Description
    GridColumn draggingColumn

    The column which is being dropped in the group drop area.

    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs contains the event data.

    PopupDroppedOnHeaderRow(Int32, Int32)

    Invoked when the popup content is dropped on header row in SfDataGrid.

    Declaration
    protected virtual void PopupDroppedOnHeaderRow(int oldIndex, int newIndex)
    Parameters
    Type Name Description
    System.Int32 oldIndex

    The dragged column index.

    System.Int32 newIndex

    The new column index.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved