Is the numbering of elements end-to-end regardless of the type?
If I understand correctly .. child Views , Yes. (Everything is relevant to the Parent) ie:
Referring to the Designer Tree View ...
Container / Panel 1 = 0 (child views, 0 - n)
Container / Panel 2 = 1 (child views, 0 - n)
The Visual order can be different to the Tree Index order (you can drag views / swap tree order to suit)
I occasionally change tree order to neaten ? / align code when accessing / populating views with DB data
PS: I believe under certain circumstances, calls to
.BringToFront, .SendToBack , could alter view indexes