Find UI element corresponding to an item in a Silverlight ItemsControl

Posted by Nobody Important on Stack Overflow See other posts from Stack Overflow or by Nobody Important
Published on 2008-11-12T13:39:05Z Indexed on 2010/05/21 20:40 UTC
Read the original article Hit count: 231

Filed under:
|

I have a list of strings displayed by a Silverlight ItemsControl. The DataTemplate is a Border control with a TextBlock as its child. How can I access the border control corresponding to an item? For example, I might want to do this to change the background color.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about itemscontrol