SelectedShapesCollection::FindFirstFocusableDiagramItem Method (DiagramItem^)
Visual Studio 2015
Given the specified diagram item, find the first diagram item that can receive focus. If the specified diagram item can receive focus, a clone of it is returned. If the diagram item is not focusable, then its first focusable descendant is returned, if any. If that search fails, then the parent hierarchy is traversed for the first focusable ancestor.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- startFromItem
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
The DiagramItem from which to start the search.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
Show: