Share via


Properties of Diagrams

You can set properties that specify how diagrams will appear in the generated designer. For example, you can specify a default color for text in the diagram.

The following table lists the properties of diagrams.

Property

Description

Default

Fill Color

The fill color for the diagram.

White

Text Color

The color of the text that is displayed on the diagram.

Black

Access Modifier

The access modifier of the class (public or internal).

Public

Custom Attributes

Used to add attributes to the source code class that is generated from this diagram. For more information, see How to: Add Custom Attributes.

<none>

Generates Double Derived

If True, both a base class and a partial class (to support customization through overrides) will be generated. For more information, see Designating Overridable Classes.

False

Has Custom Constructor

If True, a custom constructor will be provided in the source code. For more information, see Providing Custom Constructors.

False

Inheritance Modifier

Describes the kind of inheritance of the source code class that is generated from the diagram (none, abstract or sealed).

None

Base Diagram

The base class of this diagram.

(none)

Name

The name of this diagram.

Current name

Namespace

The namespace that is affiliated with this diagram.

Current namespace

Root Class

The root domain class for this diagram.

Current root class if applicable

Notes

Informal notes that are associated with this element.

<none>

Exposes Fill Color As Property

If True, a domain property has been added to the diagram to enable the fill color to be exposed in the Properties window of the generated designer.

False

Exposes Text Color As Property

If True, a domain property has been added to the diagram to enable the text color to be exposed in the Properties window of the generated designer.

False

Description

The description that is used to document the generated designer.

<none>

Display Name

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

<none>

Help Keyword

The keyword that is used to index F1 help for this diagram.

<none>

See Also

Other Resources

Domain-Specific Language Tools Glossary

Change History

Date

History

Reason

July 2008

Rewrote and refactored project.

Content bug fix.