开发者

How to get the selected activity in rehosted WorkflowDesigner

开发者 https://www.devze.com 2023-01-27 01:36 出处:网络
How do I get (programatically) the current selection? As an Activit开发者_如何学Goy instance, if possible?Activity activity = workflowDesigner.Context.Items.GetValue<Selection>().

How do I get (programatically) the current selection? As an Activit开发者_如何学Goy instance, if possible?


Activity activity = workflowDesigner.Context.Items.GetValue<Selection>().
    PrimarySelection.GetCurrentValue() as Activity;
0

精彩评论

暂无评论...
验证码 换一张
取 消