Nevron Open Vision Documentation
NDragDropSource Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NDragDropSource.

Public Constructors
 NameDescription
Public ConstructorNDragDropSource ConstructorInitializes a new drag-drop source that allows the specified effects  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DragEndedEventDragEnded event  
Public Fieldstatic (Shared in Visual Basic)DragStartingEventDragStarting event  
Public Fieldstatic (Shared in Visual Basic)NDragDropSourceSchemaSchema associated with NDragDropSource.  
Public Fieldstatic (Shared in Visual Basic)QueryDragActionEventQueryDragAction event  
Top
Public Properties
 NameDescription
Public PropertyAllowedEffectsGets or sets the effects that the source supports. It is only possible to set the allowed effects before you request a drag and drop with this source (e.g. when the State property is equal to Ready)  
Public PropertyDataObjectGets the data object that is associated with this drag drop source. Only valid when this drag drop source, is requested for drag and drop, or is currently dragged and dropped.  
Public PropertyDropOnMouseButtonsDownSpecifies the mouse buttons, that trigger Drop when pressed. By default set to All.  
Public PropertyDropOnMouseButtonsUpSpecifies the mouse buttons, that trigger Drop when released. By default set to Left.  
Public PropertyStateGets the state of this drag drop source  
Top
Protected Methods
 NameDescription
Protected MethodOnDragEndedRaises the DragEnded event.  
Protected MethodOnDragStartingRaises the DragStarting event.  
Protected MethodOnQueryDragActionRaises 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.  
Top
Public Events
 NameDescription
Public EventDragEndedOccurs when a drag a drop operation with this source has ended.  
Public EventDragStartingOccurs when a drag a drop operation is about to be started with this source.  
Public EventQueryDragActionOccurs during a drag a drop operation with this source, when there is an user activity reason (mouse buttons press/release, keyboard modifies press/release, ESC pressed etc.), that the source needs to interpret as DnD action - Drop, Continue or Cancel action.  
Top
See Also

Reference

NDragDropSource Class
Nevron.Nov.UI Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback