HighlightedShapesCollection Class

Definition

Collection of shapes and DiagramItems that are highlighted on the design surface.

public ref class HighlightedShapesCollection sealed : Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection
public sealed class HighlightedShapesCollection : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
type HighlightedShapesCollection = class
    inherit DiagramItemCollection
Public NotInheritable Class HighlightedShapesCollection
Inherits DiagramItemCollection
Inheritance
HighlightedShapesCollection

Constructors

HighlightedShapesCollection()

Initializes a new instance of the HighlightedShapesCollection class.

Properties

Item[Int32]

Gets the DiagramItem at the specified position in the collection.

(Inherited from DiagramItemCollection)

Methods

Add(DiagramItem)

Adds a DiagramItem to the current highlight list.

Add(DiagramItemCollection)

Adds the specified DiagramItems to the current highlight list.

Add(ICollection)

Adds the DiagramItem of an ICollection to the end of the DiagramItemCollection

(Inherited from DiagramItemCollection)
Clear()

Clears the current highlight list.

Contains(DiagramItem)

Determines whether a DiagramItem is in the collection.

(Inherited from DiagramItemCollection)
CopyTo(DiagramItem[], Int32)

Copies the DiagramItems of the selection to an Array, starting at a particular Array index.

(Inherited from DiagramItemCollection)
GetDiagramItemsContainingShape(ShapeElement)

Gets a collection of diagram items in the highlight list whose Shape property is the specified shape.

GetEnumerator()

Gets a DiagramItem enumerator for this collection.

(Inherited from DiagramItemCollection)
IndexOf(DiagramItem)

Returns the zero-based index of the DiagramItem in the collection.

(Inherited from DiagramItemCollection)
Insert(Int32, DiagramItem)

Inserts the DiagramItem into the collection at the specified index.

(Inherited from DiagramItemCollection)
Remove(DiagramItem)

Removes a DiagramItem from the current highlight list.

Remove(DiagramItemCollection)

Removes the specified DiagramItems from the current highlight list.

Remove(ICollection)

Removes the specified DiagramItems from an ICollection

(Inherited from DiagramItemCollection)
Set(DiagramItem)

Replaces the current highlight list with a new single highlight.

Set(DiagramItemCollection)

Replaces the current highlight list with a new highlight list.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to