PropertyGridControl.SelectedObjects Property

Gets or sets the collection of objects whose properties are currently displayed within the property grid. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v20.1.dll

Declaration

public IEnumerable SelectedObjects { get; set; }
Public Property SelectedObjects As IEnumerable

Property Value

Type Description
IEnumerable

The collection of objects that represents the data source from which the grid retrieves its data.

Remarks

The SelectedObjects property allows browsing and editing properties of multiple objects. A property whose value differs between objects has a blank value in the property grid. Editing a property via the property grid changes it for all objects within the collection simultaneously.

To bind the Property Grid to a single object, use the PropertyGridControl.SelectedObject property.

See Also