|
@@ -95,6 +95,18 @@ namespace PDF_Office.ViewModels.BOTA
|
|
public DelegateCommand<object> SearchChangedCommand { get; set; }
|
|
public DelegateCommand<object> SearchChangedCommand { get; set; }
|
|
public DelegateCommand CleanCommand { get; set; }
|
|
public DelegateCommand CleanCommand { get; set; }
|
|
|
|
|
|
|
|
+ private string searchTextContext;
|
|
|
|
+
|
|
|
|
+ public string SearchTextContext
|
|
|
|
+ {
|
|
|
|
+ get { return searchTextContext; }
|
|
|
|
+ set
|
|
|
|
+ {
|
|
|
|
+ SetProperty(ref searchTextContext, value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
@@ -278,6 +290,8 @@ namespace PDF_Office.ViewModels.BOTA
|
|
|
|
|
|
private void clean()
|
|
private void clean()
|
|
{
|
|
{
|
|
|
|
+ SearchTextContext = "";
|
|
|
|
+ PDFViewer.ClearPageSelectText();
|
|
SearchItemList.Clear();
|
|
SearchItemList.Clear();
|
|
viewContentViewModel.OpenBOTA = false;
|
|
viewContentViewModel.OpenBOTA = false;
|
|
}
|
|
}
|