SelectedShapesCollection.PrimaryItem Property
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.
Gets the primary DiagramItem in the selection.
public:
property Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ PrimaryItem { Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ value); };
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem PrimaryItem { get; set; }
member this.PrimaryItem : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem with get, set
Public Property PrimaryItem As DiagramItem
Property Value
Remarks
Setting the primary item in the selection does not set the focus. The focus must be set separately.