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