ShapeElement.DetermineHighlightShape(ShapeElement) Method

Definition

Goes up the parent shape chain, until it finds a shape that has highlighting turned on, or it has reached the top of the parent chain.

protected:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ DetermineHighlightShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement DetermineHighlightShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
abstract member DetermineHighlightShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
override this.DetermineHighlightShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Protected Overridable Function DetermineHighlightShape (shape As ShapeElement) As ShapeElement

Parameters

shape
ShapeElement

Shape at which to start the search.

Returns

Shape with highlighting, or null.

Applies to