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

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

    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