Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Changing the input text color in EntryCell

$
0
0

Hey guys. I am struggling with this for awhile and I am out of ideas already. I want to change the color of the input text within my EntryCell but I am able only to change the color of my labels. Here is my renderer:

public class MyEntryCellRenderer : EntryCellRenderer {

    public override UITableViewCell GetCell (Cell item, UITableViewCell reusableCell, UITableView tv)
    {
        var menuCell = item as EntryCell;

        var cell = base.GetCell(menuCell, reusableCell, tv);

        cell.TextLabel.Text = menuCell.Label;
        cell.TextLabel.TextColor = UIColor.White;
        cell.TintColor = UIColor.White;
        cell.BackgroundColor = UIColor.Clear;
        return cell;
    }
}

I would be really happy if someone of you have the solution for this .. :)


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>