GoDiagram Win Reference
AllowDragOut Property

Gets or sets whether the user can drag the selection out of this view to another window.
Syntax
'Declaration
 
<DescriptionAttribute("Whether the user can drag the selection out of this view to another window.")>
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Property AllowDragOut As Boolean
[DescriptionAttribute("Whether the user can drag the selection out of this view to another window.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public bool AllowDragOut {get; set;}

Property Value

If this value is true, the user can drag selected objects out of this view to another window. If this value is false, the user cannot do so, although drags within this view may still be allowed.
Remarks

This property is used by the GoToolDragging tool.

You can make a view so that the user cannot drag within it, but the user can copy out from it to another window, by setting AllowDrop to false and AllowDragOut and AllowCopyto true. GoPalette does this.

You can make a view so that the user can drag-and-drop around within it, but the user cannot drag anything out from it, by setting AllowDrop to true and AllowDragOut to false. The behaviors that are allowed within the view are additionally governed by AllowCopy and AllowMove.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoView Class
GoView Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback