Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public IEnumerable SelectedObjects { get; set; }

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.

Refer to the following help topic for more information: Property Definitions.

See Also