1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using Prism.Commands;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PDF_Master.Helper
- {
- /// <summary>
- /// 全局可用的命令 注册后,在任何界面可以当作静态资源绑定(需要留意 该命令没有办法区分页签,需要谨慎使用)
- /// </summary>
- public static class GlobalCommands
- {
- //一下命令已调整成其他方式实现
- public static CompositeCommand PrePageCommand = new CompositeCommand();
- public static CompositeCommand NextPageCommand = new CompositeCommand();
- public static CompositeCommand FirstPageCommand = new CompositeCommand();
- public static CompositeCommand LastPageCommand = new CompositeCommand();
- public static CompositeCommand PreViewCommand = new CompositeCommand();
- public static CompositeCommand NextViewCommand = new CompositeCommand();
- public static CompositeCommand UpCommand = new CompositeCommand();
- public static CompositeCommand DownCommand = new CompositeCommand();
- /// <summary>
- /// 单页模式 Ctrl+1
- /// </summary>
- public static CompositeCommand SinglePageCommand = new CompositeCommand();
- /// <summary>
- /// 双页模式 Ctrl+2
- /// </summary>
- public static CompositeCommand DoublePageCommand = new CompositeCommand();
- /// <summary>
- /// 全屏 F11
- /// </summary>
- public static CompositeCommand FullWindowCommand = new CompositeCommand();
- /// <summary>
- /// 书签快捷键 ctrl+B
- /// </summary>
- public static CompositeCommand BookMarkCommand = new CompositeCommand();
- /// <summary>
- /// 放大快捷键 ctrl +
- /// </summary>
- public static CompositeCommand ZoomInCommand = new CompositeCommand();
- /// <summary>
- /// 缩小快捷键 ctrl -
- /// </summary>
- public static CompositeCommand ZoomOutPageCommand = new CompositeCommand();
- /// <summary>
- /// 回到实际大小 ctrl+0
- /// </summary>
- public static CompositeCommand RealSizeCommand = new CompositeCommand();
- }
- }
|