1

How do I get (programatically) the current selection? As an Activity instance, if possible?

Louis Rhys
  • 34,517
  • 56
  • 153
  • 221

1 Answers1

2
Activity activity = workflowDesigner.Context.Items.GetValue<Selection>().
    PrimarySelection.GetCurrentValue() as Activity;
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221