Skip to main content

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.v23.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