Search code examples
c#workflow-foundationworkflow-foundation-4

Dictionary type property does not show up in property grid


In my custom activity i have property of type Dictionary< String , Argument > I have set up custom editor for this property using MetadataStore. The problem is that property does not show up in property grid.

If i change type of the property from Dictionary< string,Argument> to for example Collection< KeyValuePair< string,Argument>> property does show up in property grid. But i cannot use Collection variant because i want to use DynamicArgumentDesignerOptions for ModelItemDictionary edition.


Solution

  • The solution was adding

    [Browsable(true)] 
    

    to the Dictionary property.