When the designer is embedded in my custom application, the workflow shows a title that says "Sequential Workflow".
It's posible to change that title
Thanks in advance
When the designer is embedded in my custom application, the workflow shows a title that says "Sequential Workflow".
It's posible to change that title
Thanks in advance
Change Title in Sequential Workflow
Artem V
Hi pearljam
You have to set the property Header.Text of your custom designer, like this:
[Designer(typeof(CustomSequentialWorkflowDesigner), typeof(IDesigner)), Designer(typeof(CustomSequentialWorkflowDesigner), typeof(IRootDesigner))]
public partial class MySequentialWorkflow : SequentialWorkflow
{
...
}
public sealed class CustomSequentialWorkflowDesigner : SequentialWorkflowWithDataContextDesigner
{
protected override WorkflowHeaderFooter Header
{
get
{
base.Header.Text = "Your text";
return base.Header;
}
}
}
Hope this helps.
Matt.