Click or drag to resize
CellValueFactoryToCellValue Method (String, Worksheet, CellIndex)
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)
public static ICellValue ToCellValue(
	this string value,
	Worksheet worksheet,
	CellIndex cellIndex


Type: SystemString
The value.
Type: Telerik.Windows.Documents.Spreadsheet.ModelWorksheet
The worksheet.
Type: Telerik.Windows.Documents.Spreadsheet.ModelCellIndex
Index of the cell.

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).
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