I want to display some help text in a docked pane for WF4 Activities as the user works with them on the WorkflowDesigner design surface (View). The help text needs to change when the user selects a new Activity.
Is there an event or some other mechanism to be notified when the user selects an item (i.e. a workflow activity) in a rehosted WF4 WorkflowDesigner View?
There's Selection available on designer's editing context. You just have to subscribe to its changes.
WorkflowDesigner.Context.Items.Subscribe<Selection>(selection =>
{
// 'selection' contains various properties including currently selected objects
});