This is a migrated thread and some comments may be shown as answers.

RadPane with WorkflowDesigner

1 Answer 43 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 30 Dec 2010, 12:31 AM
Hi,
I'm working on a proof of concept that involves rehosting the Workflow 4.0 Designer in our application.  Currently, I'm using the Docking control, along with RadPane/RadPaneGroup to handle the layout of the application.  Everything starts/initializes fine, however, I'm running into a problem when I load/add activities to the Workflow Designer (hosted as the content of  a RadPane).  All the activities are displayed as minimized, and cannot be expanded.  When I drag a Sequence activity from the toolbox, all I can see is the Icon and Title bar of the activity.  If I load a Workflow from XAML, only the root activity is displayed as the minimized view.  If I host the designer outside of the RadPane (the Child of a Border control for example) everything works as expected:  Activities display correctly, defaulting to "Expanded" view.

Has anyone had any luck hosting a Workflow Designer inside a RadPane?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 1
answered on 30 Dec 2010, 12:48 AM

Found the problem.
Was missing a call to register designer metadata:

 

(

 

new DesignerMetadata()).Register();

 


Once you add that line, everything displays as expected.
Tags
Docking
Asked by
Aaron
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Share this question
or