WPF's DataTemplate has a nice method called FindName
, which unfortunately is missing in Silverlight. Therefore, for this scenario you will have to use the VisualTreeHelper class:
sender, PageFlipEventArgs e)
Grid bookItemLayoutRoot = VisualTreeHelper.GetChild(e.Page, 0)
ContentPresenter contentPresenter = (bookItemLayoutRoot
Border pageRoot = VisualTreeHelper.GetChild(contentPresenter, 0)
TextBlock empNo = pageRoot.FindName(
Give it a try and let me know if it helps.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.