Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Change the text color of a cell

I just need to change the color of a column of cells conditionally on the contents of the cell that is being supplied by a standard data source helper. This is what I intend to do:

public override  IGGridViewCell CreateCell(IGGridView gridView, IGCellPath path)
            IGGridViewCell cell = base.CreateCell(gridView, path);

            if (cell.Text == "...")

            { cell.TextColor = UIColor.Red }


But Xamarin runtime tells me that I cannot call the base.CreateCell here. Obviously I am doing something wrong. Any suggestions ?

Parents Reply Children
No Data