Default Behavior

By default, the property grid control displays properties as follows:

For example, a string or integer property is displayed in a text box where it can be edited. A PhoneNumber property is displayed as greyed out text by calling ToString() on the PhoneNumber object, but when the PhoneNumber is expanded its CountryCode, RegionCode and Number properties are displayed using editable text boxes.

To display complex types using your own text instead of ToString(), create a type editor with a read-only data template and set its AllowExpand property to true. See the Templating sample for an example of this, and see Customization and Styling and Templating for more information.