I have a TableView
with 3 TableSection
s in the root:
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
}
How can you change the text color of the TableSection
text with a custom renderer?
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
}
}