I want to access elements which are dinamically generated through a template:
I define the following ListBox
<ListBox
Elia Noris
Have you tried setting the AutomationID via the ItemContainerStyle? You can just use a setter in the ItemContainerStyle for AutomationProperties.AutomationID.