Share via


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)

Syntax

IEnumerable<IShape> SelectedShapes { get; }
property IEnumerable<IShape^>^ SelectedShapes {
    IEnumerable<IShape^>^ get();
}
abstract SelectedShapes : IEnumerable<IShape> with get
ReadOnly Property SelectedShapes As IEnumerable(Of IShape)

Property Value

Type: System.Collections.Generic.IEnumerable<IShape>

Remarks

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

See Also

IDiagram Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace

Return to top