Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: Configure the way properties are displayed/edited at the data model level

$
0
0

The DXPropertyGrid supports a large number of attributes from the System.ComponentModel.DataAnnotations library as well DevExpress attributes (see Data Annotation Attributes for more information), and you can use them to control the way properties are displayed.

In this example, we used several attributes including the PropertyGridEditorAttribute, which allows you to specify a particular editor for a property in the PropertyGridControl.


Viewing all articles
Browse latest Browse all 7205

Trending Articles