Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : ActiveContainer Property |
public virtual AnnContainer ActiveContainer {get; set;}
'Declaration
Public Overridable Property ActiveContainer As AnnContainer
public virtual AnnContainer ActiveContainer {get; set;}
public AnnContainer getActiveContainer() public void setActiveContainer(AnnContainer container)
<br/>get_ActiveContainer();<br/>set_ActiveContainer(value);<br/>Object.defineProperty('ActiveContainer');
This must be set to one of the values in Containers. If single container mode is used, then this property always gets and sets Container.
The active container is the object that will receive the pointer events and automation will be performed on its objects. It is never null and is updated automatically when the user adds or removes items from the Containers.
The automation object will perform hit-testing on all the containers when OnAutomationPointerDown is called and set the the active container accordingly.