How to: Add a Property Path to a Domain Type Descriptor

Before you can add a property path to a domain type descriptor, you must first create a custom type descriptor. For more information, see How to: Add a Domain Type Descriptor.

In DSL Explorer, you can add paths to properties by using domain paths for type descriptors in the following nodes:

To add property paths to a domain type descriptor

  1. Right-click the Custom Type Descriptor node, and then click Add New PropertyPath.

    Under the Paths Of Custom Property Descriptors node, a new property path appears.

  2. Click the new property path.

  3. In the Properties window, set the Path to Property property the domain path of the appropriate property. You can view the model tree by clicking the down arrow to the right of the property. For more information about domain paths, see Overview of Domain Path Syntax.

  4. Set the Property property to the value that you mapped in step 3.

  5. (Optional.) Set the Generates Custom Property Descriptor and Is UI Read Only properties to True.

See Also

Concepts

Common Tasks (Domain-Specific Explorer)

Working with the Domain-Specific Language Explorer

Domain-Specific Language Tools Glossary