The Workflow 4.0 Custom Activity Icon (and Toolbox Icon) FAQ
[Update: This FAQ is outdated and has be rewritten and reposted here:
https://blogs.msdn.com/b/tilovell/archive/2011/08/12/wf4-toolbox-updating-the-wf4-toolbox-icon-faq-for-rehosting-and-custom-activities.aspx
I'm leaving the original comments here.]
Comments
Anonymous
March 16, 2010
For WPF code to use bitmap files as icons on the designer there is also this post from Kushal: http://blogs.msdn.com/kushals/archive/2010/03/11/icons-for-the-designer.aspx TimAnonymous
March 23, 2010
‘Is there a way to override the default activity icon at a global level?’ Another way to do this is demonstrated by Kushal in his post on adding "adornments" to a designer: http://blogs.msdn.com/kushals/archive/2010/01/04/base-designer-with-additional-adornments.aspx Not particularly straightforward, but it works...Anonymous
March 23, 2010
@Notre Hm, 'No' was far wide of the mark indeed! That's probably a better way overall, as you can then easily start to modify more than just the icon. Thanks for correcting me! TimAnonymous
June 27, 2010
I need to create a subcategory within a Toolbox category (ToolboxCategory) in WF4 i.e. I have main category as "Basic Activities" now within that I need to have 2 sub categories as "Useful", "Very Useful". Basic Activities -> Useful -> Very Useful Any help would be appreciated.Anonymous
June 28, 2010
I'm pretty sure that the shipped Toolbox control doesn't support subcategories. TimAnonymous
August 12, 2010
Hi, I have created couple of variables & used them in a workflow. Now suppose user changed the name of a variable then that has to be updated dynamically at all used places in that workflow. Any suggestions to achieve this...Anonymous
October 09, 2010Ritesh, re: your question about subcategories. We also had a need to splitting up activities in "subcategories" and found it was not possible. What we did do was change the left hand panel in the rehosted designer to a TabControl and added tabs with additional toolboxes. We use the tab as the "main category" and the category feature as the "subcategory". Does this help you?