[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGrid.SetClipString

SetClipString Method

SetClipString(string, CellRange, ClipboardCopyMode)

Parses a string into rows and columns and applies the content to a given range.

Declaration
public void SetClipString(string text, CellRange rng, ClipboardCopyMode copyMode)
Parameters
Type Name Description
string text

Text to parse into the grid.

CellRange rng

Range where the text will be pasted.

ClipboardCopyMode copyMode

Whether the string contains header information that should be discarded when applying the values to the cells.

Remarks
<p>The string contains rows delimited by newline characters and cells delimited

by tabs (standard clipboard format).

Only the top left cell of the rng parameter is used; the number of rows and columns copied to the grid is determined by the content of the text parameter.