GoXam for WPF v3
Paste Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
View with Navigation Tools
Northwoods.GoXam Namespace
>
CommandHandler Class
: Paste Method
Copy the contents of the clipboard as new nodes and links in this diagram, and make those new parts the new selection.
Syntax
C#
public
virtual
void
Paste()
Remarks
This calls
PasteFromClipboard
to get a collection of nodes and links, copies them into this
Diagram
's model (by calling
Northwoods.GoXam.Model.IDiagramModel.AddCollectionCopy
), and then selects all of the newly created parts. This also raises the
Diagram.ClipboardPastedEvent
. All of the changes are performed in an undoable edit.
See Also
Reference
CommandHandler Class
CommandHandler Members