Leadtools.Annotations Namespace > AnnAutomationManager Class : CancelInactiveDesigners Property |
public bool CancelInactiveDesigners {get; set;}
'Declaration Public Property CancelInactiveDesigners As Boolean
'Usage Dim instance As AnnAutomationManager Dim value As Boolean instance.CancelInactiveDesigners = value value = instance.CancelInactiveDesigners
public bool CancelInactiveDesigners {get; set;}
get_CancelInactiveDesigners();
set_CancelInactiveDesigners(value);
When multiple AnnAutomation objects are used in the automation, you use the AnnAutomation.Active property to set one of the automations as the active one. The active automation will then process all the mouse and keyboard events. The rest of the automations are in an inactive state and will not process any events. When an automation becomes inactive, it might have designers that are still running, for example, an edit designer selecting an object. By setting the value of CancelInactiveDesigners to true, you can cancel (or abort) all the designers in an inactive automation. This has the effect of causing all currently selected objects in the inactive automation to become de-selected.
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