←Select platform

OnDragDrop Method

Summary
Raises the DragDrop event.
Syntax
C#
Objective-C
C++/CLI
Java
Python
protected virtual void OnDragDrop( 
   AnnDragDropEventArgs e 
) 
-(void) onDragDrop; 
protected void onDragDrop(LeadEvent event) 
protected:  
   virtual void OnDragDrop( 
      AnnDragDropEventArgs^ e 
   ) 
def OnDragDrop(self,e): 

Parameters

e
Event data.

Remarks

Raising an event invokes the event handler through a delegate. The OnDragDrop method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors: When overriding OnDragDrop in a derived class, be sure to call the base class's OnDragDrop method so that registered delegates receive the event.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.