To capture child UI elements of a container class, that container class must first be
Controls of TA classes Treeview
are considered container class controls
, due to their common characteristic
of holding child controls. By default, during a window intake
controls of a container class as locked. In order to access the child controls of a
given container control, you must first unlock its class.
supports unlocking container classes for the following applications:
- Windows Presentation Foundation (WPF)
- Windows Forms (WinForms)
that unlocking takes place at the class level for a given window. That is,
when you need to unlock a given Treeview control on a window, you
must unlock all Treeview controls for the
The open interface entity is now populated with an interface entity
line which maps it to a window, and an interface element
which maps the control you selected. The interface entity has also been saved.
Important: Note that a setting called
unlocked container classes, whose value specifies the class
of the unlocked container class, has also been added to the interface entity. When
the runtime automation performs an intake on this window, this directive informs it
that it should include the child controls of the specified TA class in that process.
Proceed to the
to learn how to interact with controls dynamically.