XFControlIndex Property (Xamarin.Forms Objects)

Applies to TestComplete 15.63, last modified on April 23, 2024

Description

Use the XFControlIndex property to get the index of an object in a group of objects of the same type that belong to the same parent and do not have a caption. The XFControlIndex property is used by TestComplete to address Xamarin.Forms objects that cannot be uniquely identified by their type or content.

Declaration

TestObj.XFControlIndex

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

All Xamarin.Forms objects.

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

An integer value indicating the object’s index.

See Also

XFControlName Property (Xamarin.Forms Objects)
Testing Xamarin.Forms Applications (Legacy)

Highlight search results