GhostShapeCollection Class
A collection of GhostShapes.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | GhostShapeCollection(Guid, Guid) | Initializes a new instance of the GhostShapeCollection class. |
![]() | GhostShapeCollection(SerializationInfo^, StreamingContext) | Initializes a new instance of the GhostShapeCollection class. This is used for deserialization. |
| Name | Description | |
|---|---|---|
![]() | AbsoluteBoundingBox | Gets the current bounding rectangle surrounding all GhostShapes in the collection. The rectangle is in world units relative to the diagram's top-left. |
![]() | AreSiblings | Are the members of this collection all siblings? |
![]() | Count | Gets the number of GhostShapes in the collection. |
![]() | GridSize | Gets the grid size for the ghost shape collection as a whole. |
![]() | IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread-safe). |
![]() | LocationDelta | Gets the delta between the current and initial location of the ghost shape collection as a whole. |
![]() | ParentIds | Gets an array of parent Guids in the ghost shape collection. |
![]() | PrimaryGhostShape | Gets the primary ghost shape. |
![]() | SourceDiagramId | Gets the source diagram id. This can return Guid.Empty. |
![]() | SourceProcessId | Gets the source process id. |
![]() | SourceStoreId | Gets the source store id. This can return Guid.Empty. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the collection. |
| Name | Description | |
|---|---|---|
![]() | Add(GhostShape^) | Adds a GhostShape object to the collection. |
![]() | CopyTo(Array^, Int32) | Copies the GhostShapes to an Array, starting at a particular Array index. |
![]() | CopyTo(array<GhostShape^>^, Int32) | Copies the GhostShapes to a GhostShape[] array, starting at a particular Array index. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | Find(Guid) | Gets the GhostShape given the source ShapeElement guid. |
![]() | GetEnumerator() | Returns an enumerator that can iterate through the GhostShape collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Populates a SerializationInfo with the data needed to serialize this object. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Offset(PointD) | Offsets the current location of each ghost shape by the specified delta. |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


