hi there,
i created a ListBox that has a DataTemplate as Itemtemplate. however, is there an easy way to access the generated UIElement instead of SelectedItem in codebehind?
when i access SelectedItem i just get the selected object from my ItemsSource collection. Is there a way to access the UIElement (ie. the element generated from the DataTemplate together with the bound object)? any ideas? thanks