Back to Devexpress

PropertyGridControl.SelectedObjects Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridcontrol-639c22b7.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

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

Property Value

TypeDescription
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

PropertyGridControl Class

PropertyGridControl Members

DevExpress.Xpf.PropertyGrid Namespace