LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

OnDraw Method

Show in webframe





An AnnDrawDesignerEventArgs that contains the event data.
Raises the Draw event.
Syntax
protected virtual void OnDraw( 
   AnnDrawDesignerEventArgs e
)
'Declaration
 
Protected Overridable Sub OnDraw( _
   ByVal e As AnnDrawDesignerEventArgs _
) 
'Usage
 
Dim instance As AnnDrawDesigner
Dim e As AnnDrawDesignerEventArgs
 
instance.OnDraw(e)

            

            
protected:
virtual void OnDraw( 
   AnnDrawDesignerEventArgs^ e
) 

Parameters

e
An AnnDrawDesignerEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. The OnDraw 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 OnDraw in a derived class, be sure to call the base class's OnDraw method so that registered delegates receive the event.
Example

For C#/VB examples, refer to AnnDesigner.

Requirements

Target Platforms

See Also

Reference

AnnDrawDesigner Class
AnnDrawDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.