UnplacedShapesContext Class

Context information associated with drag-and-drop that keeps track of shapes that have not yet been positioned and will require later placement. In any given transaction, we can have unplaced shapes for multiple diagrams, when multiple diagrams need to be fixed up.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.UnplacedShapesContext

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

Syntax

声明
Public NotInheritable Class UnplacedShapesContext
public sealed class UnplacedShapesContext
public ref class UnplacedShapesContext sealed
[<Sealed>]
type UnplacedShapesContext =  class end
public final class UnplacedShapesContext

The UnplacedShapesContext type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member GetUnplacedShapesMap Gets the unplaced shpapes collection from the specified transaction.
Public methodStatic member HasUnplacedShapesContext Gets a value indicating whether any unplaced shapes context is available from the specified transaction.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member Remove Removes the UnplacedShapesContext from the transaction's context info.
Public methodStatic member SetUnplacedShapesContext Adds the unplaced shape context information to the specified transaction for later use.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace