GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / AllowDragOut Property
In This Topic
    AllowDragOut Property
    In This Topic
    Gets or sets whether the user can drag the selection out of this view to another window.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether the user can drag the selection out of this view to another window.")]
    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.

    See Also