The WPF PropertyGrid control, inspired by the Visual Studio object editor, provides an intuitive way to display and edit object properties, with the ability to sort, group, and search by property names. Various built-in data editors and custom editors help to manage the properties of various data types. Also, the category editor helps to group properties of similar data types.
By default, each property is mapped to built-in editor controls based on its data type and is automatically generated. For example, a numeric value is mapped to a numeric text box control.
Using the custom editor option, users can map the object properties to any editor control of their choice, irrespective of its data type.
Users can add one or several related object properties in a custom control.
Validate data with the predefined editor controls. Users can define the validation criteria for custom editor controls, as well.
The grid can group properties based on categories. For example, “User Name” and “Password” properties are arranged under the “Login” category.
Users can arrange properties based on the initial alphabetical letter(s), either in ascending or descending order, in a single view.
Filter properties with a built-in search option for easy access. In a single view, a properties filter would arrange the resultant property items sequentially. In a categorized view, a properties filter would arrange the resultant property items in categories.
The nested properties support allows users to navigate down the hierarchy in order to edit the inner-level object properties.
Customization options are available either to show or hide properties in a business object.
Show the property description within a description panel positioned at the bottom of the PropertyGrid.
The PropertyGrid control ships with built-in themes like Metro, Blend, Office 2010, Office 2013, Office 2016, Office 365, Visual Studio 2013, Visual Studio 2015, Lime, and Saffron.
Customize the appearance of the control to any extent programmatically.
Users can easily load and edit the WPF PropertyGrid control in Expression Blend for a custom style.