←Select platform

ActiveContainer Property

Summary

Gets or sets the active container of the automation.

Syntax
C#
VB
C++
Java
public virtual AnnContainer ActiveContainer { get; set; } 
Public Overridable Property ActiveContainer As AnnContainer 
public AnnContainer getActiveContainer() 
public void setActiveContainer(AnnContainer container) 
public:  
   virtual property AnnContainer^ ActiveContainer 
   { 
      AnnContainer^ get() 
      void set(AnnContainer^ value) 
   } 

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly