public static void UpdatePadding(this MauiLabel nativeLabel, ILabel label) { nativeLabel.TextInsets = new UIEdgeInsets( (float)label.Padding.Top, (float)label.Padding.Left, (float)label.Padding.Bottom, (float)label.Padding.Right); }
public static void UpdateBackground(this MauiLabel nativeLabel, ILabel label) { nativeLabel.BackgroundLayer = label.Background?.ToCALayer(); }