Spread WPF Documentation
ClipboardCut Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class : ClipboardCut Method
The cut cell range.
Cuts the text of a cell range to the Clipboard.
Syntax
'Declaration
 
Public Sub ClipboardCut( _
   ByVal range As CellRange _
) 
'Usage
 
Dim instance As SheetView
Dim range As CellRange
 
instance.ClipboardCut(range)
public void ClipboardCut( 
   CellRange range
)

Parameters

range
The cut cell range.
Example
This example uses the ClipboardCut method.
GcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "Copy";
GcSpreadSheet1.View.ClipboardCut(new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 1, 1));
GcSpreadSheet1.View.ClipboardPaste(new GrapeCity.Windows.SpreadSheet.Data.CellRange(2, 2, 1, 1), GrapeCity.Windows.SpreadSheet.Data.ClipboardPasteOptions.Values);
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "Copy"
GcSpreadSheet1.View.ClipboardCut(new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 1, 1))
GcSpreadSheet1.View.ClipboardPaste(new GrapeCity.Windows.SpreadSheet.Data.CellRange(2, 2, 1, 1), GrapeCity.Windows.SpreadSheet.Data.ClipboardPasteOptions.Values)
See Also

Reference

SheetView Class
SheetView Members