TreeGridViewDragInfoRestrictToNode Method |
Restricts the drop to an item or a child within the specified number of levels.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public bool RestrictToNode(
Object item,
int childLevels = -1
)
Public Function RestrictToNode (
item As Object,
Optional childLevels As Integer = -1
) As Boolean
member RestrictToNode :
item : Object *
?childLevels : int
(* Defaults:
let _childLevels = defaultArg childLevels -1
*)
-> bool
Parameters
- item
- Type: SystemObject
Item to restrict the drop to, or any of its children - childLevels (Optional)
- Type: SystemInt32
Number of child levels to allow, or -1 to allow any number of levels
Return Value
Type:
BooleanTrue if the drag was restricted, or false if the user is already dragging over the specified item or its children.
See Also