|
@@ -78,13 +78,9 @@ namespace PDF_Office.ViewModels.BOTA
|
|
|
#region 命令
|
|
|
|
|
|
public DelegateCommand<object> KeyDownCommand { get; set; }
|
|
|
- public DelegateCommand<object> MouseEnterCommand { get; set; }
|
|
|
- public DelegateCommand<object> MouseLeaveCommand { get; set; }
|
|
|
|
|
|
public DelegateCommand<object> LostFocusCommand { get; set; }
|
|
|
|
|
|
- public DelegateCommand<object> GotFocusCommand { get; set; }
|
|
|
-
|
|
|
public DelegateCommand<object> AddBookmarkCommand { get; set; }
|
|
|
|
|
|
public DelegateCommand<object> ListViewItemMouseDownCommand { get; set; }
|
|
@@ -126,6 +122,9 @@ namespace PDF_Office.ViewModels.BOTA
|
|
|
TextBox textBox = (TextBox)keyEventArgs.OriginalSource;
|
|
|
ListViewItem listViewItem = CommonHelper.FindVisualParent<ListViewItem>(textBox);
|
|
|
UpdateTitle(listViewItem, textBox);
|
|
|
+ TextBlock textBlock = CommonHelper.FindVisualChild<TextBlock>(listViewItem);
|
|
|
+ textBlock.Text = textBox.Text;
|
|
|
+ textBlock.Visibility = Visibility.Visible;
|
|
|
}
|
|
|
}
|
|
|
}
|