Barry Kwok

I'm writing a hosted workflow designer, and defined some custom activities (e.g. customXyzAcitivity), when a user add the activity into workflow, it assign a default name "customXyzAcitivity1" to the activity added, therefore, the name will be very long and difficult to read. Is it poosible to customize the defeault name

Thank you very much!!!



Re: Windows Workflow Foundation How to customize activity default name?

Jonathan Davlin

Two Choices.

1. Create your own IIdentiferCreationService
2. In your ToolboxService, if you have one, pass a dictionary around wherever you are calling things like

toolBoxItem.CreateComponents().






Re: Windows Workflow Foundation How to customize activity default name?

mmm zzz


hi .
Please see this address : http://wf.netfx3.com/files/folders/design_time/default.aspx

and
Download this Sample :