Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDragDropSource Class / OnQueryDragAction Method


In This Topic
    OnQueryDragAction Method (NDragDropSource)
    In This Topic
    Raises the QueryDragAction event, by initializing the action with the specified suggested action. If the user did not alter the action as part of the QueryDragAction handling or did not handle the QueryDragAction event at all, the suggested action is returned. Otherwise the Action set to the NQueryDragActionData dispatched with the event is returned.
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnQueryDragAction( _
       ByVal reason As ENQueryDragActionReason, _
       ByVal suggestedAction As ENDragAction _
    ) As ENDragAction
    'Usage
     
    
    Dim instance As NDragDropSource
    Dim reason As ENQueryDragActionReason
    Dim suggestedAction As ENDragAction
    Dim value As ENDragAction
     
    value = instance.OnQueryDragAction(reason, suggestedAction)
    protected virtual ENDragAction OnQueryDragAction( 
       ENQueryDragActionReason reason,
       ENDragAction suggestedAction
    )

    Parameters

    reason
    suggestedAction
    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