Back to Devexpress

PropertyGridControl.OptionsCollectionEditor Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-propertygridcontrol-f4882a72.md

latest2.9 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public PGridOptionsCollectionEditor OptionsCollectionEditor { get; }
vb
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property OptionsCollectionEditor As PGridOptionsCollectionEditor

Property Value

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

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

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

DefaultCollectionEditors

PropertyGridControl Class

PropertyGridControl Members

DevExpress.XtraVerticalGrid Namespace