Property elm.Level
Overload
Gets or sets indentation level for elm.ToString.
public int Level { get; set; }
Property Value
Remarks
When find or similar function finds a UI element, it sets this property of the elm variable. If fromXY etc, it is 0 (unknown).
When searching in a window, at level 0 are direct children of the WINDOW. When searching in controls (specified class or id), at level 0 is the control. When searching in elm, at level 0 are its direct children. When searching in web page (role prefix "web:"
etc), at level 0 is the web page (role DOCUMENT or PANE).