ShapeElement.RelatedShapeToEmphasize Property
Gets the related shape to visually emphasize to the user when this shape is selected.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.