SelectedShapesCollection.FindFirstSelectableDiagramItem(DiagramItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
static Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ FindFirstSelectableDiagramItem(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ startFromItem);
public static Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem FindFirstSelectableDiagramItem (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem startFromItem);
static member FindFirstSelectableDiagramItem : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Public Shared Function FindFirstSelectableDiagramItem (startFromItem As DiagramItem) As DiagramItem
Parameters
- startFromItem
- DiagramItem
The DiagramItem from which to start the search.
Returns
The first diagram item that can be selected.