SelectedShapesCollection::PrimaryItem Property

 

Gets the primary DiagramItem in the selection.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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);
}

Setting the primary item in the selection does not set the focus. The focus must be set separately.

Return to top
Show: