LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

CurrentDesignerChanged Event






Occurs when the current designer has been changed. .NET support Silverlight support
Syntax
public event EventHandler CurrentDesignerChanged
'Declaration
 
Public Event CurrentDesignerChanged As EventHandler
'Usage
 
Dim instance As AnnAutomation
Dim handler As EventHandler
 
AddHandler instance.CurrentDesignerChanged, handler
public event EventHandler CurrentDesignerChanged
add_CurrentDesignerChanged(function(sender, e))
remove_CurrentDesignerChanged(function(sender, e))

public:
event EventHandler^ CurrentDesignerChanged
Remarks

At any given time, the AnnAutomation object can have a working AnnDesigner-derived object as follows:

Designer Base Class Notes
null (Nothing in Visual Basic) (Design and Run user mode) No designer is currently active.
AnnDrawDesigner (Design user mode) The AnnAutomation is currently drawing or about to draw a new object.
AnnEditDesigner (Design user mode) One or more objects are currently being edited or are about to be edited.
AnnRunDesigner (Run user mode) An object is currently being run or about to be run

This property allows you to hook into the current designer and change or monitor its status while it is running. For example, you can determine if CurrentDesigner is an AnnDrawDesigner derived class and subscribe to the Draw event and so forth.

Example

For C#/VB examples, refer to CurrentDesigner.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.