WPFControlOrdinalNo Property (WPF Application Objects)

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

Returns the ordinal number of a WPF application control among its siblings in the child object collection of the parent object. This value is used to distinguish the objects that have the same type and text.

The property value does not depend on the value of the Panel.ZIndex attached property.

Declaration

WPFAppObj.WPFControlOrdinalNo

Read-Only Property Integer
WPFAppObj A WPF application object

Applies To

All WPF application objects, except for substrate windows.

Property Value

An integer value that specifies the object’s ordinal number.

Remarks

The property is available only if the application under test is a WPF application and the WPF Control Support plugin is installed and enabled in File | Install Extensions.

See Also

Testing WPF Applications

Highlight search results