Making an activity’s display name readonly in the Workflow 4 designer

To make an activity’s display name readonly, it isn’t enough to use the ReadOnlyAttribute on the DisplayName. In order to do this, create a custom PropertyValueEditor that displays a string in a text block, then declare an editor attribute on the “DisplayName” property of your activity. The following code demonstrates how to create a read-only…