Occurs when an AnnObject is being dragged out of a container.
The event handler receives an argument of type AnnDragDropEventArgs containing data related to this event. The following AnnDragDropEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Allowed | Gets or sets a value that indicates whether the current operation is allowed. |
AnnObject | Gets the AnnObject that is being dragged. |
CanDrop | Gets a value that indicates whether the object(s) being dragged can be dropped on the target container. |
Operation | Gets the current drag and drop operation. |
OperationContainer | Gets the current container for this drag and drop operation. |
SourceContainer | Gets the source annotation container. |
TargetContainer | Gets the source annotation container. |
This event occurs during editing of an object when multiple containers are used and an object is being dragged out of one container. The default behavior will move the object from the source to the target container (if any). Override this method to provide custom behavior if required.
This event will trigger only if the value of EnableDragDrop is true.
EnablePartialDrop controls the behavior when an object is dragged then dropped while its boundary is not completely enclosed in any container.