none
Can you access the WorkflowDesigner from a custom ActivityDesigner? RRS feed

  • Question

  • Is it possible to access the WorkflowDesigner that my current custom activity is contained in ... from within that custom activity's designer? 

    I tried walking up the visual tree looking for WorkflowDesigner type, but it never gets there.

    Thursday, November 4, 2010 9:05 PM

Answers

  • I think you are looking for the designerView.

    what you can do is

    in the customActivityDesigner, it has a property Context.

    use following code

    Context.Services.GetService<DesignerView>()

    you can get the designerView.

    I don't think you can get the workflowDesigner from CustomActivityDesigner

    • Marked as answer by Kofoed Monday, November 8, 2010 7:23 PM
    Thursday, November 4, 2010 9:57 PM