I have a custom activity, with a single in argument which is a string. However, rather than allow the designer to enter an arbitrary string, I want the designer to be presen
One way to solve it is to define your own ComboBoxEditor which derives from UITypeEditor. Expose the collection you want to bind this combobox in the activity class and decorate your bindable property in Activity class with following attribute :
[EditorAttribute(typeof(CustomListBoxEditor), typeof(System.Drawing.Design.UITypeEditor))]
Also in the custom comboboxEditor you will have to modify your EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value) method to get the collection and bind it to the combobox.