Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NPage Class / DoDragDrop Method


In This Topic
    DoDragDrop Method (NPage)
    In This Topic
    Requests a drag and drop operation for the specified items. Calls the funcResult delegate when the operation has completed. Calls the queryContinueDrag delegate while the operation is performed. Returns whether the Drag and Drop was requested.
    Syntax
    'Declaration
     
    
    Public Overrides Function DoDragDrop( _
       ByVal items As NList(Of NDiagramItem), _
       ByVal dragEnded As Nevron.Nov.Function(Of NDragEndedEventArgs), _
       ByVal queryContinueDrag As Nevron.Nov.Function(Of NQueryDragActionEventArgs) _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPage
    Dim items As NList(Of NDiagramItem)
    Dim dragEnded As Nevron.Nov.Function(Of NDragEndedEventArgs)
    Dim queryContinueDrag As Nevron.Nov.Function(Of NQueryDragActionEventArgs)
    Dim value As System.Boolean
     
    value = instance.DoDragDrop(items, dragEnded, queryContinueDrag)
    public override System.bool DoDragDrop( 
       NList<NDiagramItem> items,
       Nevron.Nov.Function<NDragEndedEventArgs> dragEnded,
       Nevron.Nov.Function<NQueryDragActionEventArgs> queryContinueDrag
    )

    Parameters

    items
    dragEnded
    queryContinueDrag
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also