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
Object
Microsoft.VisualStudio.Modeling.Diagrams.UnplacedShapesContext
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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 | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUnplacedShapesMap | Gets the unplaced shpapes collection from the specified transaction. | |
HasUnplacedShapesContext | Gets a value indicating whether any unplaced shapes context is available from the specified transaction. | |
Remove | Removes the UnplacedShapesContext from the transaction's context info. | |
SetUnplacedShapesContext | Adds the unplaced shape context information to the specified transaction for later use. | |
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.