Skip to content

Use the PropertyGridEditor attribute to apply a property definition or property editor template at the data model level.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-property-grid-use-data-annotations-to-define-property-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Property Grid - Use the PropertyGridEditor Attribute to Define a Property Editor

This example demonstrates how to use the PropertyGridEditor attribute. This attribute allows you to apply a property definition or property editor template at the data model level.

image

In this example, Employee objects contain an edit button in their editors. This button opens the dialog that allows you to edit object properties.

Templates with the PropertyDefinition and CollectionDefinition are applied to the Location and Employees properties, respectively.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use the PropertyGridEditor attribute to apply a property definition or property editor template at the data model level.

Topics

Resources

License

Stars

Watchers

Forks