WPFControlOrdinalNo Property (WPF Application Objects)

Applies to TestComplete 15.64, last modified on June 12, 2024


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.



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.


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