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.OptionsCollectionEditor Property

Provides access to options that specify whether to use the standard WinForms or DevExpress editor for collections, and appearance settings of the latter.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public PGridOptionsCollectionEditor OptionsCollectionEditor { get; }

#Property Value

Type Description
DevExpress.XtraVerticalGrid.PGridOptionsCollectionEditor

A DevExpress.XtraVerticalGrid.PGridOptionsCollectionEditor object specifying collection editor’s options.

#Remarks

By default, the standard WinForms editor is used to edit collection properties in the current PropertyGridControl.

PropertyGridControl_OptionsCollectionEditor_WF

Set the OptionsCollectionEditor.UseDXCollectionEditor property to true to use the DevExpress collection editor that supports the skinning technology.

PropertyGridControl_OptionsCollectionEditor_DX

The OptionsCollectionEditor property also provides access to the settings of the DevExpress collection editor, such as item search, multi-select, etc.

However, if neither the standard WinForms nor DevExpress editor for collections meets your needs, you can provide a custom default collection editor for a particular type using the PropertyGridControl.DefaultCollectionEditors property.

See Also