I have a rehosted WF4 designer in an existing desktop application. As the form with the designer loads, the designer automatically adds an activity to the designer (which acts as a parent - much like a sequence) and creates variables for the user to use as they continue to design the Workflow.
When a child custom activity is dropped in to this parent activity, I want it to access the values of the variables in the parent activity to use, but at user design time (ie - when the designer is presented to the user). Not as the Workflow is executed. I can't seem to find a way to do it.
I'm sure it can be done as it seems like a straight forward request to me. Any help would be wonderful.