←Select platform

OnDragDrop Method

Summary

Raises the DragDrop event.

Syntax
C#
VB
Objective-C
C++
Java
protected virtual void OnDragDrop( 
   AnnDragDropEventArgs e 
) 
Protected Overridable Sub OnDragDrop( _ 
   ByVal e As AnnDragDropEventArgs _ 
)  
-(void) onDragDrop; 
protected void onDragDrop(LeadEvent event) 
protected:  
   virtual void OnDragDrop( 
      AnnDragDropEventArgs^ 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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly