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

Custom EntryCell is not using specified renderer

$
0
0

I'm working on a small change to the EntryCell class for Windows Phone - the current control does not give back the feel of native WP entry cells, and I intended to change that.

For that purpose I took the liberty of reflecting the Xamarin.Forms WP8 dll and duplicating the EntryCellRenderer class and its DataTemplate.

The issue I have is, even though the Renderer is defined, it is never called - no exceptions thrown, nothing.
If the main class is derived from EntryCell, EntryCell's renderer is called, but if it is simply a Cell, nothing loads.
There are no traces of any problem in the Console either.

The point would be to override just the Windows Phone renderer of EntryCell, and make it look like a regular WP text option field. But I'm not getting forward at all.

The renderer uses the ICellRenderer and IRegisterable interfaces, just like EntryCell, but even if I try other CellRenderers (EntryCell, ViewCell), it does not show up.

Is there a known issue with Cell rendering?


Viewing all articles
Browse latest Browse all 58056

Trending Articles