GlobalCommands.cs 840 B

123456789101112131415161718192021222324252627
  1. using Prism.Commands;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PDF_Master.Helper
  8. {
  9. /// <summary>
  10. /// 全局可用的命令 注册后,在任何界面可以当作静态资源绑定
  11. /// </summary>
  12. public static class GlobalCommands
  13. {
  14. public static CompositeCommand PrePageCommand = new CompositeCommand();
  15. public static CompositeCommand NextPageCommand = new CompositeCommand();
  16. public static CompositeCommand FirstPageCommand = new CompositeCommand();
  17. public static CompositeCommand LastPageCommand = new CompositeCommand();
  18. public static CompositeCommand PreViewCommand = new CompositeCommand();
  19. public static CompositeCommand NextViewCommand = new CompositeCommand();
  20. }
  21. }