[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.DropMode

DropMode Property

DropMode

Gets or sets a value that determines if the control can accept data that the user drags onto it.

Declaration
public DropModeEnum DropMode { get; set; }
Remarks

This property allows you to use the control as a target for OLE drag-drop operations.

If set to None (the default value), the control does not act as a drop target.

If set to Manual, the control fires the standard drag-drop events and the programmer is responsible for handling them. The main events involved are DragOver and DragDrop. These events are provided by the standard System.Windows.Forms.Control object.

If set to Automatic, the control handles the DragOver and DragDrop events automatically by performing the following actions:

1) Query the data object for data in text or filename formats.

2) Scroll if the user drags an object near the edges of the control.

3) Paste the contents of the data object when the user drops valid data on the control.

Note: This property replaces and extends the C1.Win.C1FlexGrid.C1FlexGridBase.AllowDrop property provided by the base Control object.