←Select platform

CancelInactiveDesigners Property

Summary

Gets or sets a value indicating whether any designers in an AnnAutomation are automatically canceled when the automation becomes inactive.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool CancelInactiveDesigners { get; set; } 
Public Property CancelInactiveDesigners As Boolean 
public bool CancelInactiveDesigners {get; set;} 
@property (nonatomic) BOOL cancelInactiveDesigners; 
public boolean getCancelInactiveDesigners() 
public void setCancelInactiveDesigners(boolean cancelInactiveDesigners) 
             
 <br/>get_CancelInactiveDesigners();<br/>set_CancelInactiveDesigners(value);<br/>Object.defineProperty('CancelInactiveDesigners');  
public:  
   property bool CancelInactiveDesigners 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to automatically cancel all designers in an AnnAutomation when the automation becomes inactive; otherwise, it is false. The default value is true.

Remarks

When multiple AnnAutomation objects are used in an automation, use the AnnAutomation.Active property to set one of the automations as the active one. The active automation will then process all of the mouse, touch 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 can 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 of the designers in an inactive automation. This has the effect of causing all currently selected objects in the inactive automation to become de-selected.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly