Click or drag to resize

GridViewDragInfo Class

Extra drag information when dragging to a TreeGridView.
Inheritance Hierarchy
SystemObject
  Eto.FormsGridViewDragInfo

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class GridViewDragInfo

The GridViewDragInfo type exposes the following members.

Constructors
  NameDescription
Public methodGridViewDragInfo
Initializes a new instance of the GridDragInfo class.
Top
Properties
  NameDescription
Public propertyControl
Gets the parent tree control this info is for.
Public propertyIndex
Gets or sets the insertion index where the user is dragging to as a child of Item, or -1 if dragging ontop of the Item.
Public propertyInsertIndex
Gets the insertion index of drop operation, or -1 if not an insert (dragging over)
Public propertyIsChanged
Gets a value indicating whether this GridDragInfo is changed.
Public propertyItem
Gets or sets the item the user is dragging to.
Public propertyPosition
Gets the position of the ChildIndex relative to the item under the mouse cursor.
Top
Methods
  NameDescription
Public methodRestrictToInsert
Helper to restrict the drop to insert items only without allowing draging over existing items.
Public methodRestrictToOver
Helper to restrict to drop on top an existing item without allowing any insertion.
Top
Remarks
Use this information to determine where the user is dragging to, and also to change where the drag indicator will be shown by modifying the Item and ChildIndex properties.
See Also