[Category("Behavior")] [DefaultValue(true)] [Description("Whether the user can drag the selection out of this view to another window.")] public bool AllowDragOut {get; set;}
[Category("Behavior")] [DefaultValue(true)] [Description("Whether the user can drag the selection out of this view to another window.")] public bool AllowDragOut {get; set;}
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.