다음을 통해 공유


UnplacedShapesContext Class

Definition

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.

public ref class UnplacedShapesContext sealed
public sealed class UnplacedShapesContext
type UnplacedShapesContext = class
Public NotInheritable Class UnplacedShapesContext
Inheritance
UnplacedShapesContext

Methods

GetUnplacedShapesMap(Transaction, Guid)

Gets the unplaced shpapes collection from the specified transaction.

HasUnplacedShapesContext(Transaction)

Gets a value indicating whether any unplaced shapes context is available from the specified transaction.

Remove(Transaction)

Removes the UnplacedShapesContext from the transaction's context info.

SetUnplacedShapesContext(Transaction, Diagram, IDictionary)

Adds the unplaced shape context information to the specified transaction for later use.

Applies to