You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
667 B

  1. namespace BPA.UIControl
  2. {
  3. /// <summary>
  4. /// 对话框 DataContext 配置
  5. /// </summary>
  6. public interface IDialogDataContextConfiguration
  7. {
  8. /// <summary>
  9. /// 打开时动作
  10. /// </summary>
  11. /// <param name="dialog">对话框</param>
  12. /// <param name="content">对话框内容</param>
  13. /// <param name="parameter">打开参数</param>
  14. /// <returns>是否配置成功 IDialogDataContext</returns>
  15. bool OnOpenAction(DialogContainer dialog, object content, object parameter);
  16. /// <summary>
  17. /// 关闭时动作
  18. /// </summary>
  19. void OnCloseAction();
  20. }
  21. }