Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PropertyGridControl.UseCollectionEditor Property

Specifies whether to enable collection editing within the grid. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

#Declaration

public bool? UseCollectionEditor { get; set; }

#Property Value

Type Description
Nullable<Boolean>

true, to enable collection editing; otherwise, false.

#Remarks

The UseCollectionEditor property controls whether to use the collection editor. Set this property to false to display the collection definition as a property definition. In this case, the PropertyGridControl does not display expand and Add/Remove buttons.

To specify whether collection editing is enabled for an individual collection, use its CollectionDefinition.UseCollectionEditor property. To learn more, see Managing Collection Properties.

See Also