How to handle Datatemplate inside controls in code behind using xaml . I want hide and show grid inside datatemplate. But i cant get inside Data template contols in my code behind page.
example windows phone code:
var item4 = (Grid)(objfram[0] as FrameworkElement);
objfram1 = item4.Children.ToList();