locked
Accessing UI elements on ActivityDesigner? RRS feed

  • Question

  • Is it possible to access UI elements (such as ComboBoxes, Buttons, etc) that are on an ActivityDesigner defined for an Activity in a rehosted Workflow Designer?

    I can access the ActivityDesigner itself by iterating through the ModelItems on the WorkflowDesigner ... but I want to access a specific WPF control and am not sure how to do that.

    Tuesday, August 10, 2010 6:16 PM

Answers

  • It's not exposed through any particular workflow designer API, but you can to it through the WPF Visual Tree walking APIs.
    Tim
    • Marked as answer by Kofoed Wednesday, August 11, 2010 6:49 PM
    Wednesday, August 11, 2010 3:34 AM

All replies

  • It's not exposed through any particular workflow designer API, but you can to it through the WPF Visual Tree walking APIs.
    Tim
    • Marked as answer by Kofoed Wednesday, August 11, 2010 6:49 PM
    Wednesday, August 11, 2010 3:34 AM
  • Hi Kofoed,

    In the ActivityDesigner you can acces to all controls (as a WPF control)


    Jérémy Jeanson MCP, MCTS http://blogs.codes-sources.com/JeremyJeanson/ (French or English spoken)
    Wednesday, August 11, 2010 8:12 AM