Parses a string into rows and columns and applies the content to a given range.
Namespace:
C1.Silverlight.FlexGridAssembly: C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.dll)
Syntax
C# |
---|
public void SetClipString( string text, CellRange range, ClipboardCopyMode copyMode ) |
Visual Basic |
---|
Public Sub SetClipString ( _ text As String, _ range As CellRange, _ copyMode As ClipboardCopyMode _ ) |
Parameters
- text
- Type: System..::..String
Text to parse into the grid.
- range
- Type: C1.Silverlight.FlexGrid..::..CellRange
Range where the text will be pasted.
- copyMode
- Type: C1.Silverlight.FlexGrid..::..ClipboardCopyMode
Whether the string contains header information that should be discarded when applying the values to the cells.
Remarks
The string contains rows delimited by newline characters and cells delimited by tabs (standard clipboard format).
Only the top left cell of the range parameter is used; the number of rows and columns copied to the grid is determined by the content of the text parameter.