Cuts the currently selected items to the Windows clipboard.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public bool CutToClipboard ( |
Visual Basic Copy Code |
---|
Public Function CutToClipboard( _ |
true if items are successfully copied to clipboard; otherwise, false.
Call this method when writing message handler for the Cut command from the Edit menu of your application. MindFusion.Diagramming does not provide keyboard interface for clipboard operations, so you might assign a CTRL+X shortcut to this command.
The method deletes all selected items after copying them to clipboard. That operation can be undone in the sense that deleted items are restored by calling UndoManager.Undo; however the clipboard data is not restored and the items remain in the clipboard available for further pasting.