devexpress-wpf-property-grid
Installation
SKILL.md
DevExpress WPF Property Grid
PropertyGridControl is a data-bound control that displays and edits the properties of an arbitrary object. Set SelectedObject to any INotifyPropertyChanged/POCO object, optionally describe which properties to show and how with PropertyDefinition / CollectionDefinition / CategoryDefinition, and the grid renders a correct editor per type, supports collection add/remove, multi-object editing, categories (flat / grouped / tabbed), and nested-object expansion.
This skill covers project setup, defining PropertyDefinition objects, editing collection properties via CollectionDefinition, grouping via property categories, and controlling expandability of complex/nested properties.
When to Use This Skill
Use this skill when you need to:
- Bind a
PropertyGridControlto any CLR object and render an editor per property - Choose which properties show — and assign custom editors per property/type via
PropertyDefinition - Let users add / edit / remove items in a collection property inline via
CollectionDefinition - Provide default values for new collection items (
NewItemInitializer) - Group properties under category rows or category tabs (
[Category]attribute +ShowCategories) - Make a nested object expandable (or block expansion) via
[TypeConverter]/AllowExpanding