SelectedShapesCollection::FindFirstSelectableDiagramItem Method (DiagramItem^)

 

Given the specified diagram item, find the first selectable diagram item. If the specified diagram item is selectable, a clone of it is returned. If the diagram item is not selectable, then the parent hierarchy is traversed for the first selectable ancestor.

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

public:
static DiagramItem^ FindFirstSelectableDiagramItem(
	DiagramItem^ startFromItem
)

Parameters

startFromItem
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The DiagramItem from which to start the search.

Return to top
Show: