LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Active Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Active Property



The Active Property supports WPF/Silverlight.

The Active Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value indicating whether this AnnAutomation is active. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Active As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
Dim value As Boolean
 
instance.Active = value
 
value = instance.Active
C# 
public bool Active {get; set;}
C++/CLI 
public:
property bool Active {
   bool get();
   void set (    bool value);
}

Property Value

true if this AnnAutomation is active; false otherwise.

Example

For C#/VB examples, refer to AnnAutomationManager.

Remarks

The collection of AnnAutomation objects inside a AnnAutomationManager should have one AnnAutomation object active at any time. The active AnnAutomation object is the object to which all user interface actions are directed.

If the automated annotation application has only one AnnAutomation object, it should set the Active property of this AnnAutomation to true upon initilization. No further changes are necessary.

If the automated annotation application has more than one AnnAutomation, it should set the Active property of the AnnAutomation attached to the currently active form to true.

Setting the Active value of one AnnAutomation in the AnnAutomationManager.Automations property to true, will cause the Active property of all other AnnAutomation objects inside this collection to be set to false.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Active requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.