Is it possible to access the DataContext of the current page of the frame? How?
问题 In wpf, is it possible to access the DataContext of the current page of the frame? If YES, how? If NO, what should I use as replacement for frame so that I can access its DataContext? If something is not clear, please tell me. Update: For Clarification I have a Frame in MainWindow.xaml . I want to access the DataContext of the current page displayed in the Frame . Let's just say I want to display a string property named title of the ViewModel of the current page. (Let's assume that each page'