←Select platform

ActiveContainer Property

Summary

Gets or sets the active container of the automation.

Syntax

C#
VB
Java
WinRT C#
C++
public virtual AnnContainer ActiveContainer { get; set; } 
Public Overridable Property ActiveContainer As Leadtools.Annotations.Core.AnnContainer 
public virtual Leadtools.Annotations.Core.AnnContainer ActiveContainer {get; set;} 
public AnnContainer getActiveContainer() 
public void setActiveContainer(AnnContainer container) 
             
 <br/>get_ActiveContainer();<br/>set_ActiveContainer(value);<br/>Object.defineProperty('ActiveContainer');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly