How do I access an element of a control template from within code-behind
You need to get the template and locate the control by name on the templated control, something like: var template = MyList.Template; var myControl = (MyControl)template.FindName(“MyControlName”, MyList); Templates are just that: Abstract descriptions of what is to be created, the controls in templates only exist in the context of something that is being templated. Note … Read more