How to access controls put inside DataTemplate

Dec 21, 2009 at 3:30 AM


I've put some controls(StackPanel->TextBox) inside the ItemTemplate->DataTemplate. Now I want to change the UI (like changing visibility of TextBox) when user clicks on a button which is not present in the coverflow.

So, Is there any way I can access the controls present inside DataTemplate of the coverFlow Control.