gpt4 book ai didi

c# - 如何在C#Xamarin中获取单元格

转载 作者:行者123 更新时间:2023-11-28 23:25:49 24 4
gpt4 key购买 nike

如何在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# - 如何在C#Xamarin中获取单元格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58795521/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com