GhostShapeCollection Class

 

A collection of GhostShapes.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::GhostShapeCollection

[SerializableAttribute]
public ref class GhostShapeCollection : ICollection, IEnumerable, 
	ISerializable

NameDescription
System_CAPS_pubmethodGhostShapeCollection(Guid, Guid)

Initializes a new instance of the GhostShapeCollection class.

System_CAPS_protmethodGhostShapeCollection(SerializationInfo^, StreamingContext)

Initializes a new instance of the GhostShapeCollection class. This is used for deserialization.

NameDescription
System_CAPS_pubpropertyAbsoluteBoundingBox

Gets the current bounding rectangle surrounding all GhostShapes in the collection. The rectangle is in world units relative to the diagram's top-left.

System_CAPS_pubpropertyAreSiblings

Are the members of this collection all siblings?

System_CAPS_pubpropertyCount

Gets the number of GhostShapes in the collection.

System_CAPS_pubpropertyGridSize

Gets the grid size for the ghost shape collection as a whole.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the collection is synchronized (thread-safe).

System_CAPS_pubpropertyLocationDelta

Gets the delta between the current and initial location of the ghost shape collection as a whole.

System_CAPS_pubpropertyParentIds

Gets an array of parent Guids in the ghost shape collection.

System_CAPS_pubpropertyPrimaryGhostShape

Gets the primary ghost shape.

System_CAPS_pubpropertySourceDiagramId

Gets the source diagram id. This can return Guid.Empty.

System_CAPS_pubpropertySourceProcessId

Gets the source process id.

System_CAPS_pubpropertySourceStoreId

Gets the source store id. This can return Guid.Empty.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection.

NameDescription
System_CAPS_pubmethodAdd(GhostShape^)

Adds a GhostShape object to the collection.

System_CAPS_pubmethodCopyTo(Array^, Int32)

Copies the GhostShapes to an Array, starting at a particular Array index.

System_CAPS_pubmethodCopyTo(array<GhostShape^>^, Int32)

Copies the GhostShapes to a GhostShape[] array, starting at a particular Array index.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFind(Guid)

Gets the GhostShape given the source ShapeElement guid.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the GhostShape collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Populates a SerializationInfo with the data needed to serialize this object.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOffset(PointD)

Offsets the current location of each ghost shape by the specified delta.

System_CAPS_pubmethodToString()

(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.

Return to top
Show: