Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi there

I'm new to C# 4.0.

I'm creating a custom activity targeting WF 4.0, inheriting from NativeActivity.

I'm using a rehosted workflow designer, but that shouldn't make a difference.

I'm trying to use the propertygrid to edit a property.

A snipped of my code is as follows:
public class PatientStateActivity:NativeActivity
   {
       [Browsable(true)]
       [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
       public string DisplayName { get; set; }



When the property grid is displayed (when I click on the activity), I can paste text, use the spacebar, and backspace, but I can't type text in the property grid.

Is there something I'm missing?
Posted
Updated 25-Jan-13 15:19pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900