Hi All, I need to change FontSize in an Entry Xamarin Forms Control. I create a render for iOS and Android and all work fine but... Windows Phone NO.
Does anyone know how you can change the Font Size?
Hey @PaoloCristina, in my case I tried to use the method Font Size, but does not work, but it may work for you. Here is the CustomRenderer:
[assembly: ExportRenderer(typeof(MyCustomEntry), typeof(MyCustomEntryRenderer))]
public class CustomEntryRenderer : EntryRenderer
protected override void OnElementChanged(ElementChangedEventArgs<Entry> e)
if(Control != null)
Control.FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Entry));
Control.FontSize = 10;
It doesn't work! The font size is always the same, even if I useControl.FontSize = 10
orControl.FontSize = 100
orControl.FontSize = 5
Control.FontSize = 10
Control.FontSize = 100
Control.FontSize = 5
Any idea to resolve this situation?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies