Visual Basic (Declaration) | |
---|---|
Public Property Active As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool Active {get; set;} |
XAML Attributes Usage | |
---|---|
<object Active=bool .../> |
XAML Attributes Usage | |
---|---|
<object Active=bool .../> |
Return Value
true if this AnnAutomation is active; false otherwise.For C#/VB examples, refer to AnnAutomationManager.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family