我在根目录中有一个TableView
3 s:TableSection
var tableView = new TableView
{
RowHeight = 60,
Root = new TableRoot
{
firstTableSection,
secondTableSection,
thirdTableSection,
}
}
var firstTableSection = new TableSection("First")
{
// Cells
}
var firstTableSection = new TableSection("First")
{
// Cells
}
var firstTableSection = new TableSection("First")
{
// Cells
}
如何TableSection
使用自定义渲染器更改文本的文本颜色?
public class TestTableViewRenderer : Xamarin.Forms.Platform.Android.TableViewRenderer
{
protected override void OnElementChanged(Xamarin.Forms.Platform.Android.ElementChangedEventArgs<Xamarin.Forms.TableView> e)
{
base.OnElementChanged(e);
// Not sure how to add this property here
}
}