我们在重新宿主WF4的工作流设计器时,可以对工作流设计器中的Toolbar进行定制,工作流中Toolbar如下图:

WF4中工作流设计器Toolbar的定制

你可以使用下面代码来指定设计器中的Toolbar:

this.wd.Context.Services.GetService<DesignerView>().WorkflowShellBarItemVisibility = ShellBarItemVisibility.Variables;

ShellBarItemVisibility 枚举有如下值:None Variables Arguments Imports Zoom MiniMap  All。

我们可以通过设置该枚举值来定制自己宿主的工作流设计器的Toolbar。

 

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2021-09-05
  • 2021-07-06
  • 2021-12-30
  • 2021-09-11
  • 2021-06-07
相关资源
相似解决方案