SelectedShapesCollection::PrimaryItem Property
Visual Studio 2015
Gets the primary DiagramItem in the selection.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: property DiagramItem^ PrimaryItem { DiagramItem^ get(); void set(DiagramItem^ value); }
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^Setting the primary item in the selection does not set the focus. The focus must be set separately.
Show: