←Select platform

ActiveContainer Property

Summary
Gets or sets the active container of the automation.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual AnnContainer ActiveContainer { get; set; } 
@property (nonatomic, strong, readonly, nullable) LTAnnContainer *activeContainer; 
public AnnContainer getActiveContainer() 
public void setActiveContainer(AnnContainer container) 
public:  
   virtual property AnnContainer^ ActiveContainer 
   { 
      AnnContainer^ get() 
      void set(AnnContainer^ value) 
   } 
ActiveContainer # get and set (AnnAutomation) 

Property Value

The to be set as the active container for this object.

Remarks

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 active container accordingly.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.