public static void MapMaxLines(LabelHandler handler, ILabel label) { }
public static void MapPadding(LabelHandler handler, ILabel label) { handler.NativeView?.UpdatePadding(label); }
public static void MapFont(LabelHandler handler, ILabel label) { var fontManager = handler.GetRequiredService <IFontManager>(); handler.NativeView?.UpdateFont(label, fontManager); }
public static void MapCharacterSpacing(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateCharacterSpacing(label); }
public static void MapLineBreakMode(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateLineBreakMode(label); }
public static void MapFontFamily(LabelHandler handler, ILabel label) { MapFont(handler, label); }
public static void MapFontAttributes(LabelHandler handler, ILabel label) { MapFont(handler, label); }
public static void MapVerticalTextAlignment(LabelHandler handler, ILabel label) { }
public static void MapLineHeight(LabelHandler handler, ILabel label) { }
public static void MapLineHeight(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateLineHeight(label); }
public static void MapVerticalTextAlignment(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateVerticalTextAlignment(label); }
public static void MapTextColor(LabelHandler handler, ILabel label) { handler.PlatformView?.UpdateTextColor(label, DefaultTextColor); }
public static void MapText(LabelHandler handler, ILabel label) { handler.PlatformView?.UpdateTextPlainText(label); }
public static void MapPadding(LabelHandler handler, ILabel label) => handler.TextBlock?.UpdatePadding(label);
public static void MapPadding(LabelHandler handler, ILabel label) { }
public static void MapCharacterSpacing(LabelHandler handler, ILabel label) { MapFormatting(handler, label); }
public static void MapText(LabelHandler handler, ILabel label) { handler.TypedNativeView?.UpdateText(label); }
public static void MapTextDecorations(LabelHandler handler, ILabel label) { MapFormatting(handler, label); }
public static void MapFontSize(LabelHandler handler, ILabel label) { MapFont(handler, label); }
public static void MapLineHeight(LabelHandler handler, ILabel label) { MapFormatting(handler, label); }
public static void MapTextColor(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateTextColor(label, DefaultTextColor !); }
public static void MapFont(LabelHandler handler, ILabel label) { }
public static void MapHorizontalTextAlignment(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateHorizontalTextAlignment(label); }
public static void MapHorizontalTextAlignment(LabelHandler handler, ILabel label) { }
public static void MapMaxLines(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateMaxLines(label); }
public static void MapLineBreakMode(LabelHandler handler, ILabel label) { }
public static void MapTextDecorations(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateTextDecorations(label); }
public static void MapTextDecorations(LabelHandler handler, ILabel label) { }
public static void MapLineHeight(LabelHandler handler, ILabel label) { handler.NativeView?.UpdateLineHeight(label, LineSpacingAddDefault, LineSpacingMultDefault); }
public static void MapCharacterSpacing(LabelHandler handler, ILabel label) { }