←Select platform

AutomationContainerIndex Property

Summary

Gets or sets the active container index.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int AutomationContainerIndex { get; set; } 
Property AutomationContainerIndex As Integer 
int AutomationContainerIndex {get; set;} 
@property (nonatomic) int automationContainerIndex; 
int getAutomationContainerIndex(); 
void setAutomationContainerIndex(int index); 
             
get_AutomationContainerIndex(); 
set_AutomationContainerIndex(value); 
Object.defineProperty('AutomationContainerIndex');  
public:  
   property Int32 AutomationContainerIndex 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

The 0-based index of the active container.

Remarks

AutomationContainerIndex is called by the automation object to set the index of the active container when multi-container mode is used. After that, all the properties and methods that are called to inquire information about the container must use this value to get the actual AnnContainer object. Usually, from the collection of the containers obtained from AutomationGetContainersCallback.

The default implementation saves the value of AutomationContainerIndex into a local variable and use it as needed.

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.Core Assembly