123456789101112131415161718192021222324 |
- using PDF_Master.ViewModels.EditTools.Watermark;
- using System.Windows.Controls;
- namespace PDF_Master.Views.EditTools.Watermark
- {
- /// <summary>
- /// Interaction logic for WatermarkDocumentContent
- /// </summary>
- public partial class WatermarkDocumentContent : UserControl
- {
- public WatermarkDocumentContent()
- {
- InitializeComponent();
- }
- private void CurrentPageIndexBox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
- {
- if (e.Key == System.Windows.Input.Key.Enter)
- {
- var data = this.DataContext as WatermarkDocumentContentViewModel;
- data.GoToPageCommand?.Execute(sender);
- }
- }
- }
- }
|