Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何获得c-xamarin中的细胞_C#_Ios_Xamarin - Fatal编程技术网

C# 如何获得c-xamarin中的细胞

C# 如何获得c-xamarin中的细胞,c#,ios,xamarin,C#,Ios,Xamarin,我怎样才能得到C中的一个单元格? 下面的代码是Swift,我得到一个带有此代码的单元格: let indexPath = IndexPath(row: index, section: 0) let cell = table.cellForRow(at: indexPath) 但是在C语言中会怎样呢?您可以尝试以下方法: var cell = table.CellAt(NSIndexPath.FromItemSection(indexRow,indexSection));

我怎样才能得到C中的一个单元格? 下面的代码是Swift,我得到一个带有此代码的单元格:

let indexPath = IndexPath(row: index, section: 0)
let cell = table.cellForRow(at: indexPath)
但是在C语言中会怎样呢?

您可以尝试以下方法:

var cell =  table.CellAt(NSIndexPath.FromItemSection(indexRow,indexSection));