Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnEditDesigner Class : OnEdit Method |
protected virtual void OnEdit( AnnEditDesignerEventArgs e )
'Declaration
Protected Overridable Sub OnEdit( _ ByVal e As AnnEditDesignerEventArgs _ )
'Usage
Dim instance As AnnEditDesigner Dim e As AnnEditDesignerEventArgs instance.OnEdit(e)
protected virtual void OnEdit( AnnEditDesignerEventArgs e )
- (void)onEdit:(LTAnnEditDesignerEventArgs *)args
protected void onEdit(AnnEditDesignerEvent event)
function Leadtools.Annotations.Designers.AnnEditDesigner.OnEdit( e )
Raising an event invokes the event handler through a delegate. The OnEdit 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.
Note to Inheritors: When overriding OnEdit in a derived class, be sure to call the base class's OnEdit method so that registered delegates receive the event.