IDiagram::SelectedShapes Property

 

The collection of shapes that are currently selected. If no individual shape is selected, the collection will contain the diagram as its only member. If other shapes are selected, the diagram will not appear in the collection.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

property IEnumerable<IShape^>^ SelectedShapes {
	IEnumerable<IShape^>^ get();
}

To obtain a collection of shapes filtered to include those only of particular types, and excluding the diagram, use GetSelectedShapes().

Return to top
Show: