PropertyGrid expandable collection with combobox

Grids for WPF Forum

Posted 10 years ago by Brian
Version: 14.1.0602


I have a PropertyGrid that is bound to an object with a List<string> member. The CollectionDisplayMode is EditableInline. I've implemented a custom TypeDescriptorFactory to handle readonly properties and expandability. Does the PropertyGrid have support for an expandable collection where each child item is a combobox?


[Modified 10 years ago]

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Garvan,

I believe that is possible.  You mentioned you have a custom data factory.  If the IPropertyDataAccessor items you return specify a value for the ValueTemplateKey that refers to BuiltinEditors.DynamicValueTemplateKey, then it should pull that in.  That template has a ComobBox built in but make sure you also have our IPropertyDataAccessor return items in the StandardValues collection to pick from.  Those will become the ComboBox.Items.

Actipro Software Support

The latest build of this product (v24.1.2) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.