Category Archives: ActivityDesigner

Workflow Foundation 4.0 – Dynamic Arguments

In workflow foundation 4.0, we can pass data from a Host application to workflow using arguments. We can add the InArguments to the workflow in two ways. Either the user needs to Manually create the required InArguments or we need … Continue reading

Posted in ActivityDesigner, WF4 | Tagged , | Leave a comment

Activity Designer in Workflow Foundation 4.0

Visual Studio 2010 released with workflow foundation 4.0. Workflow Foundation 4.0 is introduced a significant amount of change from the previous versions of the technology. The change varies from the core of the workflow foundation, runtime and tools. Workflow foundation … Continue reading

Posted in ActivityDesigner, WF4 | Leave a comment

WF4: ActivityDesigner – How to use WPF custom control in Activity Designer

1. Define the WPF custom control. 2. Refer the Current namespace in activityDesigner 3. Refer the Custom Control from Xaml <sap:ActivityDesigner x:Class=”WF4ActivityDesignerLibrary.ActivityDesigner.CustomControlDesigner” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221; xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml&#8221; xmlns:sap=”clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation” xmlns:sapv=”clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation” xmlns:local =”clr-namespace:WF4ActivityDesignerLibrary” mc:Ignorable=”d” xmlns:d=”http://schemas.microsoft.com/expression/blend/2008&#8243; xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006&#8243; d:DesignHeight=”67″ d:DesignWidth=”204″> Note: you can fire the events associated … Continue reading

Posted in ActivityDesigner, WF, WF4 | 10 Comments

WF4: ActivityDesigner – Container Activity designer

For designing a container designer like one where you can drag another activity, use the following code

Posted in ActivityDesigner, WF, WF4 | Leave a comment

WF4: Activity Designer – Icon

Change the ActivityDesigner Icon using

Posted in ActivityDesigner, WF, WF4 | Leave a comment