Properties of types on UML class diagrams

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Properties of types on UML class diagrams.

In a UML Class Diagram, a type is a class, an interface, or an enumeration.

System_CAPS_ICON_note.jpg Note

This topic is about the properties of types in UML Class Diagrams. For more information, see the following topics:

These are the properties of a class, interface or enumeration.

To see the properties of a type, right-click the type in the diagram or in UML Model Explorer, and then click Properties. The properties appear in the Properties window.

PropertyDefaultAppears inDescription
NameA default nameAll elementsIdentifies the element.
Qualified NameContaining Package :: Type NameAll elementsIdentifies the element uniquely. Prefixed with the qualified name of the package that contains it.
ColorDefault for the kind of typeAll elementsThe color of this shape. Unlike the other properties, this is not a property of the underlying model element. Different views of the same type can have different colors.
Is AbstractFalseClassIf true, the class cannot be instantiated, and is intended for use as a base class.
Is LeafFalseClass, InterfaceIf true, the type is not intended to have derived types.
Is ActiveFalseClassIf true, each instance of this type is associated with a thread of control.
VisibilityPublicClass, Interface, Enumeration- Public - globally visible.
- Private - this type is visible within the package that owns it.
- Package - visible within the package.
Work Items0 associatedAll elementsThe number of work items associated with this element. To associate work items, see Link model elements and work items.
Description(blank)All elementsYou can make general notes about the item here.
Template Binding(none)Class, Interface, EnumerationIf not empty, this type is defined by binding parameter values to this template class. Expand the property to see the bindings of the template parameters.
Template Parameters(none)Class, Interface, EnumerationIf not empty, this is a template class that has the parameters listed here. To add parameters or view the properties of individual parameters, click […].

Properties of attributes on UML class diagrams
Properties of operations on UML class diagrams
Properties of associations on UML class diagrams
UML Class Diagrams: Guidelines

Show: