SelectedShapesCollection.FindFirstFocusableDiagramItem Method

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.

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

Syntax

'Declaração
Public Shared Function FindFirstFocusableDiagramItem ( _
    startFromItem As DiagramItem _
) As DiagramItem
public static DiagramItem FindFirstFocusableDiagramItem(
    DiagramItem startFromItem
)
public:
static DiagramItem^ FindFirstFocusableDiagramItem(
    DiagramItem^ startFromItem
)
static member FindFirstFocusableDiagramItem : 
        startFromItem:DiagramItem -> DiagramItem 
public static function FindFirstFocusableDiagramItem(
    startFromItem : DiagramItem
) : DiagramItem

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace