ShapeElement.DetermineHighlightShape Method
Finds the highlighted shape in a chain of shapes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Overridable Function DetermineHighlightShape ( _
shape As ShapeElement _
) As ShapeElement
protected virtual ShapeElement DetermineHighlightShape(
ShapeElement shape
)
protected:
virtual ShapeElement^ DetermineHighlightShape(
ShapeElement^ shape
)
abstract DetermineHighlightShape :
shape:ShapeElement -> ShapeElement
override DetermineHighlightShape :
shape:ShapeElement -> ShapeElement
protected function DetermineHighlightShape(
shape : ShapeElement
) : ShapeElement
Parameters
shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape at which to start the search.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The highlighted shape or null if no shape is highlighted.
.NET Framework Security
- 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.