|
@@ -640,11 +640,17 @@ namespace PDF_Office.ViewModels
|
|
|
));
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 各个注释(选中和创建注释)导航到对应注释的属性面板
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="Content"></param>
|
|
|
+ /// <param name="annotPropertyPanel"></param>
|
|
|
public void SelectedPrpoertyPanel(string Content, AnnotPropertyPanel annotPropertyPanel)
|
|
|
{
|
|
|
System.Windows.Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Send, new Action(() =>
|
|
|
{
|
|
|
NavigationParameters parameters = new NavigationParameters();
|
|
|
+ //传其他参数:文档类,空注释面板;
|
|
|
parameters.Add(ParameterNames.PDFViewer, PDFViewer);
|
|
|
parameters.Add(ParameterNames.PropertyPanelContentViewModel, annotPropertyPanel);
|
|
|
region.RequestNavigate(PropertyRegionName, Content, parameters);
|