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 | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.