Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property RelatedShapeToEmphasize As ShapeElement
public override ShapeElement RelatedShapeToEmphasize { get; }
public:
virtual property ShapeElement^ RelatedShapeToEmphasize {
    ShapeElement^ get () override;
}
abstract RelatedShapeToEmphasize : ShapeElement with get 
override RelatedShapeToEmphasize : ShapeElement with get
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