Compartir a través de


Domain Property (Domain-Specific Language Designer)

Domain properties associate specific properties with elements in a domain-specific language definition. For more information, see How to: Add a Domain Property.

Domain properties have the properties that are listed in the following table:

Property

Description

Default Value

Description

The description used in the UI and in the code documentation of the generated designer.

Description for [Domain Property]

DisplayName

The name that will be displayed in the generated designer for this domain property.

DomainProperty

Element Name Provider

The external type, which provides values for this property, which must have Is Element Name set to true.

(none)

GetterAccessModifier

The access modifier for the getter.

public

HelpKeyword

An optional keyword used to index F1 help for this domain property.

IsBrowsable

If True, the domain property is marked as browsable in its corresponding property descriptor. As a result, it can be browsed through the Properties window.

True

IsElementName

If True, the domain property should be used as the name of the element in which the property is embedded.

False

IsUIReadOnly

If True, the domain property can not be edited through the UI when browsed.

False

Kind

The kind of domain property. This can be normal, calculated, or requires custom storage. For more information, see Defining Calculated Properties.

Normal

Name

The name of this domain property.

DomainProperty

Notes

Informal notes associated with this element.

SetterAccessModifier

The access modifier for the setter.

public

Type

The type of property.

String

See Also

Concepts

Domain-Specific Language Designer Terminology Overview

Working with Domain Properties

Domain-Specific Language Tools Glossary