Udostępnij za pośrednictwem


ShapeElement.RelatedShapeToEmphasize Property

Definition

Gets the related ShapeElement that should be visually emphasized to the user when this shape is selected. This appearance is different from selection and does not indicate that the related shape is selected. The intent is to draw the user's attention to the related shape to help provide context. This property returns null if no shape should be emphasized.

An example usage: The user may not be clear as to which shape a label is associated with, so by visually emphasizing the label's parent shape when the label is selected, the user can quickly identify the related shape.

public:
 virtual property Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ RelatedShapeToEmphasize { Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ get(); };
public virtual Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement RelatedShapeToEmphasize { get; }
member this.RelatedShapeToEmphasize : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Public Overridable ReadOnly Property RelatedShapeToEmphasize As ShapeElement

Property Value

Applies to