ShapeElement::RelatedShapeToEmphasize Property
Visual Studio 2015
Gets the related shape to visually emphasize to the user when this shape is selected.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^The related shape to visually emphasize; otherwise, null, if there is no related shape to emphasize.
The emphasis is different from selection and does not indicate that the related shape is selected. The intent is to draw the user's attentionto the related shape to help provide context.
This feature is particularly useful to emphasize the parent of a relative child shape such as a label. For example, when the user selects a label attached to a connector, it might not be clear which connector the label is associated with. You can override this property to return the parent shape.
Show: