The Draw Event supports WPF/Silverlight.
The Draw Event is available in LEADTOOLS Document and Medical Imaging toolkits.
Occurs when this AnnDrawDesigner object is drawing an AnnObject. Supported in Silverlight, Windows Phone 7Visual Basic (Declaration) | |
---|---|
Public Event Draw As EventHandler(Of AnnDrawDesignerEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnDrawDesigner Dim handler As EventHandler(Of AnnDrawDesignerEventArgs) AddHandler instance.Draw, handler |
C# | |
---|---|
public event EventHandler<AnnDrawDesignerEventArgs> Draw |
C++/CLI | |
---|---|
public: event EventHandler<AnnDrawDesignerEventArgs^>^ Draw |
The event handler receives an argument of type AnnDrawDesignerEventArgs containing data related to this event. The following AnnDrawDesignerEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the drawing operation should be canceled. Supported in Silverlight, Windows Phone 7 |
Object | Gets the AnnObject object currently being drawn. Supported in Silverlight, Windows Phone 7 |
OperationStatus | Gets the current draw operation status. Supported in Silverlight, Windows Phone 7 |
For C#/VB examples, refer to AnnDesigner.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)