GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DoSelectionDropReject Method
In This Topic
    DoSelectionDropReject Method
    In This Topic
    Invoke BackgroundSelectionDropReject or ObjectSelectionDropReject event handlers and GoObject.GoObject.OnSelectionDropReject methods to see if any want to prevent a drop.
    Syntax
    public virtual bool DoSelectionDropReject( 
       GoInputEventArgs evt
    )

    Parameters

    evt

    Return Value

    true if no drop should occur; false if a drop is acceptable.
    Remarks
    This is normally called from the GoToolDragging tool's DoMouseMove and DoMouseUp methods, to decide whether a drop is permissible at the given input event point. In Windows Forms, it is also called by DoExternalDrop when dropping GoObjects, for completeness, when the GoToolDragging tool is not used for normal external drag-and-drops. This method must be called before calling DoSelectionDropped, but it may be called many times during a drag before a drop actually happens.
    See Also