Partager via


ShapeElement.DetermineHighlightShape Method

Finds the highlighted shape in a chain of shapes.

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

Syntax

'Déclaration
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The highlighted shape or null if no shape is highlighted.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace