September 2010
Intermediate to advanced
272 pages
5h 16m
English
We have already created a MySequence activity in a previous task. In this task, we are going to create a designer for it.
Add an Activity Designer item to the ActivityLibrary project and name it MySequenceDesigner.xaml. Use the following code to replace the default generated code:
<sap:ActivityDesigner x:Class="ActivityLibrary.MySequenceDesigner" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sap="clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation" xmlns:sapv="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation"> ...