How to get the selected activity in rehosted WorkflowDesigner
-
28-09-2019 - |
Question
How do I get (programatically) the current selection? As an Activity
instance, if possible?
Solution
Activity activity = workflowDesigner.Context.Items.GetValue<Selection>().
PrimarySelection.GetCurrentValue() as Activity;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow