Click or drag to resize
GridControlPasteTextFromBuffer Method
Pastes the text values from the specified buffer to the grid.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool PasteTextFromBuffer(
	string buffer,
	Range range
)

Parameters

buffer
Type: SystemString
The data in tab-delimited form.
range
Type: Stingray.GridRange
The coordinates where the cells should be inserted.

Return Value

Type: Boolean
true if the operation succeeded; false otherwise.
Remarks
The text values must be available in tab-delimited form in the buffer.
Newline characters indicate that a new row should be started.
PasteTextFromBuffer is normally only called from to paste data in CF_TEXT format from the clipboard, but you may also call this method to load cells from a text file.
See Also