Questions tagged [activitydesigner]

Base class to develop user interface to Workflow Foundation activities

Provides state handling, breakpoint placing and access to its underlining Activity through ModelItem

WPF based

24 questions
4
votes
1 answer

How to create an activity designer that can contain a child activity?

For example if you create your own activity called Run10Times which runs its child activity 10 times, can you have a designer which contains a canvas to which the user can put the child activity? I know how to create a standard activity designer,…
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221
2
votes
1 answer

Custom Activity Designer(like FlowChart activity) in WF4.0

Is it possible to create a Custom activity, same as Flow Chart Activity? As Flow Chart activity is a sealed class, we can not use it directly, so is it possible to place a Panel(for holding other activity) and the re-sizable grip in the expand view…
2
votes
1 answer

Updating DisplayName in code, does not show up in designer?

This should be an easy one, but I can't figure it out. When some property of my custom activity changes (e.g. via changing it in the properties grid in WF designer), I want to update the DisplayName dynamically. I do that in the property setter…
Achim
  • 828
  • 6
  • 21
2
votes
1 answer

How to completely collapse a custom activity designer (no white box below title)?

For some of my activities, I would prefer to have it completely collapsed to just show the title bar when the users collapses its designer. By default, if you are using the standard way of a collapsible designer (with datatrigger on ShowExpanded),…
Achim
  • 828
  • 6
  • 21
1
vote
1 answer

How to design the collapsed view of my custom ActivityDesigner

The built-in designers of activities like Sequence can be collapsed to a more compact view. In my custom activity designer, the collapse button is there (at right top) but apparently nothing happens if I click it. I want it to collapse to just…
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221
1
vote
0 answers

Example Using Radio Buttons on Form

Possible Duplicate: WPF: How to bind RadioButtons to an enum? I am new to using WF4 designer and am looking for a simple visual example of using radio buttons on a form. My basic requirements are that a user be able to select Option 1, 2, or 3,…
Arkady
  • 393
  • 2
  • 9
  • 29
1
vote
2 answers

Binding to datagrid in ActivityDesigner

I am new to .NET 4 and I am looking for a way to design a custom activity that accepts a list of some type (in my example FormInput). So, each instance of this activity can hold its own private list of FormInput. This codesnippet is from the…
1
vote
1 answer

How to set custom Icon on Custom Activity Designer in Workflow Foundation?

I am Re-Hosting the Workflow Foundation of .NET Framework. And I have a custom Activity. I tried to point out the key points of my folder architecture as well as the icon properties. What I want is to display a custom icon on my custom activity. But…
E-A
  • 1,995
  • 6
  • 33
  • 47
1
vote
1 answer

Reusing the TypePresenter in an ActivityDesigner

The TypePresenter, which is the dropdown for selecting types when defining Variables and Arguments in the workflow designer, can be reused in your own ActivityDesigners. It works great for the default types, but if you select Browse for types...…
user1228
1
vote
1 answer

Where'd my ActivityDesigner togglebutton go?

It disappeared! I'm using the standard ActivityDesigner w/Collapsible UI example:
user1228
1
vote
1 answer

Flowchart always shows all nodes collapsed, any way to expand them?

We are using a flowchart activity as base for our workflow. All the activities that I drop on the designer surface of the flowchart are shown in collapsed state. Even if I click on "Expand all" in the top right of the designer. First I thought it's…
Achim
  • 828
  • 6
  • 21
1
vote
0 answers

Shared WPF resources inside an activity designer library

I'm developing a bunch of custom activity designers, which contain custom controls, images, styles etc. The designer XAMLs are spread over several subdirectories in a library project (not a WPF application, therefore no app.xaml available) I need a…
1
vote
1 answer

Is this a bug or am I missing something with the WF Designer

Here is the scenario, discovered while trying to troubleshoot the same issue in the self hosted designer. Create a library project with a type in it. Mine is this. namespace RaceEventLibrary { public class Registration { public…
Philip Nelson
  • 985
  • 6
  • 20
0
votes
2 answers

Nested ActivityDesigner execution

I have two custom NativeActivity (Root and Final) with respective ActivityDesigner: In the Root NativeActivity I have: [ContentProperty("Body")] [Designer(typeof(RootActivityDesigner))] public class RootActivity : NativeActivity { public Activity…
Nicola C.
  • 2,717
  • 3
  • 18
  • 25
0
votes
1 answer

How to access activity Argument within ActivityDesigner?

I need to get my custom activity's InArgument value at ActivityDesigner. MyActivity: [Designer(typeof(ReadTextDesigner))] public sealed class ReadText : CodeActivity { public InArgument ImageName { get; set; } protected override…
E-A
  • 1,995
  • 6
  • 33
  • 47
1
2