public static void UpdateFont(this Entry platformEntry, ITextStyle textStyle, IFontManager fontManager) { platformEntry.BatchBegin(); platformEntry.FontSize = textStyle.Font.Size > 0 ? textStyle.Font.Size : 25.ToDPFont(); platformEntry.FontAttributes = textStyle.Font.GetFontAttributes(); platformEntry.FontFamily = fontManager.GetFontFamily(textStyle.Font.Family) ?? ""; platformEntry.BatchCommit(); }