Click or drag to resize
CellValueFactoryToCellValue Method (String, Worksheet, Int32, Int32)
Produces an ICellValue instance.

Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public static ICellValue ToCellValue(
	this string value,
	Worksheet worksheet,
	int rowIndex,
	int columnIndex
)

Parameters

value
Type: SystemString
The value.
worksheet
Type: Telerik.Windows.Documents.Spreadsheet.ModelWorksheet
The worksheet.
rowIndex
Type: SystemInt32
Index of the row.
columnIndex
Type: SystemInt32
Index of the column.

Return Value

Type: ICellValue
The ICellValue instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Please note that the string value is parsed to find its type. This process is slow. If you know the type of your data use the other overloads of this method.
See Also