Hello Everyone,
I'm using xaml activation to have a xaml only workflow with no compilation. I've defined a base type of workflow (SequentialWorkflowActivity) that my xaml defined workflow derives from. This works with no problems - the problem is that my base type of workflow has a designer defined and that designer is ignored. One of the main reasons I want to define my own base type of workflow is to change how the workflow looks in the desiger...
Here is my base workflow definition...
[ Designer(typeof(BaseWorkflowDesigner))]
public sealed partial class BaseWorkflow: SequentialWorkflowActivity
{
public BaseWorkflow()
{
InitializeComponent();
}
}
Here is my base designer (some code has been omitted for space reasons)
[ ActivityDesignerTheme(typeof(BaseWorkflowDesignerTheme))]
public class BaseWorkflowDesigner : SequentialWorkflowRootDesigner
{
public BaseWorkflowDesigner()
{
}
//Lots of missing code like OnPaint that tries to modify how the workflow looks...
}
And here is my xaml defined workflow...
<ns0:BaseWorkflow x:Name="Workflow" xmlns:x=" http://www.hide-link.com/ " xmlns:ns0="clr-namespace:MyAssembly;Assembly=MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
Does anyone know why my custom designer is being ignored
Software Development for Windows Vista14
|