The xamPropertyGrid supports inspecting one or more objects simultaneously. Simply bind the object to the SelectedObject property, or SelectedObjects if dealing with multiple objects, and the xamPropertyGrid will automatically display that object’s properties, which can then be viewed and edited. For complex properties (properties that have nested/sub properties) the xamPropertyGrid allows you to expand and drill into the object to edit the nested property values. All changes made to a property’s value in the xamPropertyGrid will be reflect back into the bound object(s).
View Sample

Inspect Multiple Objects

The xamPropertyGrid has a number of standard editors that are automatically used depending on the data type of the property. For example, if the data type of the property is a Boolean, then the CheckBox editor will be used; if the data type is an enum, then a ComboBox will be used as an editor. The xamPropertyGrid also has a Brush editor for editing complex brushes and gradients, as well as a collection editor which allows you to add and remove objects from a collection. Customers can even provide custom editors base on a property type, or even a property name.
View Sample

Single Object Editing

The xamPropertyGrid supports a number of attributes that can be applied to a property, or class, to control certain aspects or behavior of the xamPropertyGrid. The following attributes are supported by the xamPropertyGrid: BrowsableAttribute, CategoryAttribute, DisplayNameAttribute, DescriptionAttribute, DefaultValueAttribute, ReadOnlyAttribute, DefautPropertyAttribute, TypeConverterAttribute.
View Sample

Attributes

The xamPropertyGrid provides two options for generating properties. The ReflectionPropertyGenerator uses reflection to discover and generate the properties of an object. The default generator used is the TypeDescriptorPropertyGenerator. It uses TypeDescriptor, and supports ICustomTypeDescriptor, to generate the properties of an object. You can also provide item filters to create complex filtering conditions for the generated properties to control what properties are shown, or excluded, from the xamPropertyGrid.
View Sample

Custom Editor