FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / AllowDragging Property

In This Topic
    AllowDragging Property (C1FlexGridBase)
    In This Topic
    Gets or sets whether the user is allowed to drag rows and columns with the mouse.
    Public Property AllowDragging As AllowDraggingEnum
    public AllowDraggingEnum AllowDragging {get; set;}

    Row dragging may not work in bound mode. This is because some data sources do not allow absolute positioning of rows.

    ADO.NET DataTable object in particular do not support this.

    Column dragging is supported for any data source, and row dragging is always supported in unbound mode.

    You can prevent specific rows and columns from being dragged by setting their RowCol.AllowDragging property to false.

    See Also