AllowDrag Property
Description
The AllowDrag property specifies how and where the items in the TaskPanel can be dragged and dropped.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property AllowDrag() As [XTPTaskPanelItemAllowDrag](XtremeTaskPanel~Enumerations~XTPTaskPanelItemAllowDrag_EN.md)
Remarks
The TaskPanel.AllowDrag property serves as a set of "default" drag and drop flags that are applied to all groups and group items if no drag and drop settings are set for the individual group or group item objects.
The drag and drop settings for TaskPanelGroup objects can be set using the TaskPanelGroup.AllowDrag property.
The drag and drop settings for TaskPanelGroupItem objects can be set using the TaskPanelGroupItem.AllowDrag property.
See the XTPTaskPanelItemAllowDrag enumeration for a detailed explanation of each flag and how it affects the dragging and dropping of the groups and group items.
The DragText property can be set for each TaskPanelGroupItem. This is the text string that is sent to the target component when an item is dropped onto a control outside of the TaskPanel.
See Also
- TaskPanel Control
- BeginDrag Event
- ItemDrop Event
- TaskPanelGroup AllowDrag Property
- TaskPanelGroup AllowDrop Property
- GroupItem AllowDrag Property
- GroupItem AllowDrop Property
- DragText Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.