void PART_Presenter_Navigated(object sender, DevExpress.Xpf.WindowsUI.Navigation.NavigationEventArgs e) { if (oldSource != null) { oldSource.Owner = null; oldSource.ItemsSource = null; } }
private void OnDocumentFrameNavigated(object sender, DevExpress.Xpf.WindowsUI.Navigation.NavigationEventArgs e) { FrameworkElement newContent = (FrameworkElement)e.Content; if (newContent != null) { //RibbonMergingHelper.SetMergeWith(newContent, ribbon); // RibbonMergingHelper.SetMergeStatusBarWith(newContent, statusBar); } }
void FieldsNavigationFrame_Navigated(object sender, DevExpress.Xpf.WindowsUI.Navigation.NavigationEventArgs e) { InsertFieldRichEditHelper.CurrentParametersDialog = FieldsNavigationFrame.Content as IFieldParametersDialog; }