Interface IGridCopyPaste
Provides the functionality of clipboard operations in SfDataGrid.
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public interface IGridCopyPaste
Methods
Copy()
Copies the selected rows or cells from SfDataGrid to clipboard.
Declaration
void Copy()
CopyRowsToClipboard(Int32, Int32)
Copies the rows to clipboard for the specified start and end of the record index.
Declaration
void CopyRowsToClipboard(int startRecordIndex, int endRecordIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startRecordIndex | The start index of the record to copy rows to clipboard. |
System.Int32 | endRecordIndex | The end index of the record to copy rows to clipboard. |
Cut()
Copies the selected rows or cells and sets the default or null or empty value.
Declaration
void Cut()
Paste()
Pastes the clipboard copied content to the selected rows or cells in SfDataGrid.
Declaration
void Paste()