Click or drag to resize

TreeGridViewDragInfo Class

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

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class TreeGridViewDragInfo

The TreeGridViewDragInfo type exposes the following members.

Constructors
  NameDescription
Public methodTreeGridViewDragInfo
Initializes a new instance of the TreeGridDragInfo class.
Top
Properties
  NameDescription
Public propertyChildIndex
Gets the index of the Item relative to the Parent.
Public propertyControl
Gets the parent tree control this info is for.
Public propertyInsertIndex
Gets or sets the insertion index where the user is dragging to as a child of Item, or -1 if dragging over the Item.
Public propertyIsChanged
Gets a value indicating whether this TreeGridDragInfo is changed.
Public propertyItem
Gets or sets the item to drag to, or null if dragging below the Parent node.
Public propertyParent
Gets or sets the parent node of the Item to drag to.
Public propertyPosition
Gets a value indicating whether the drop should insert before, after, or over the Item.
Top
Methods
  NameDescription
Public methodRestrictToInsert
Helper to restrict the drop to insert items only without allowing draging over existing items.
Public methodRestrictToNode
Restricts the drop to an item or a child within the specified number of levels.
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