Partilhar via


LabelShape.RelatedShapeToEmphasize Property

Gets the shape that is related to the label shape and emphasizes it when a user clicks it.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Public Overrides ReadOnly Property RelatedShapeToEmphasize As ShapeElement
    Get
public override ShapeElement RelatedShapeToEmphasize { get; }
public:
virtual property ShapeElement^ RelatedShapeToEmphasize {
    ShapeElement^ get () override;
}
abstract RelatedShapeToEmphasize : ShapeElement
override RelatedShapeToEmphasize : ShapeElement
override function get RelatedShapeToEmphasize () : ShapeElement

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The related shape to emphasize; otherwise, nulla null reference (Nothing in Visual Basic) if the label shape has no related shapes.

Remarks

An emphasized shape looks different from a shape that the user has clicked. Emphasis helps the user identify which shapes are associated with each other.

.NET Framework Security

See Also

Reference

LabelShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace