Sunday, February 28, 2010

Changing Default ICON in Custom Activity Designer in WF 4.0

In WF 4.0 when we create Custom Activity Designer it always shows the following Default ICON . In this post i am going to show how to  change the Default ICON to custom one.  Here i am using  the custom activity the  GetAllFiles  which i created in my pervious blog.[http://mstecharchitect.blogspot.com/2010/02/wf-40-custom-activity-designer.html]

image

Here is the XAML code which changes default ICON to Custom ICON.

image

WF 4.0 Activity Designer provides the following Controls

image

image

After doing all the above work now just compile the project you will see the Custom Activity ICON changed as Shown below.

image

Nandri(Thanks)

SreenivasaRagavan,

No comments: