I'm setting up different designs for two different custom Entry
LoginEntry
and a CommonEntry
for my application and I want to be able to override the renderer for these two different scenarios for different designs throughout the application.
I have the following code that I tried but it's getting an error for LoginEntry
is a type which is not valid for this context.
protected override void OnElementChanged(ElementChangedEventArgs<Entry> e)
{
base.OnElementChanged(e);
if (e.OldElement != null) return;
if (e.NewElement == LoginEntry)
{
UpdateEntryStyle();
}
}