Skip to main content

CollectionDefinition.UseCollectionEditor Property

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

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v25.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.

If the UseCollectionEditor property is set to null, the value of the PropertyGridControl.UseCollectionEditor property is used to specify whether collection editing within the collection is enabled.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UseCollectionEditor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also