locked
Retrieve an element from inside a DataTemplate? RRS feed

  • Question

  • Is it possible to get a reference to an element contained inside a DataTemplate for items in a ListBox?

    Basically, I have an ItemTemplate defined for a ListBox ... the DataTemplate is defined in a Resource Dictionary.  I want to be able to wire up a Loaded event for a TextBox element inside the DataTemplate, but can't figure out how to get to it.

    Any ideas?
    Tuesday, April 28, 2009 7:56 PM

Answers

All replies