Ejemplo n.º 1
0
 public static void UpdateText(this MauiButton nativeButton, IButton button) =>
 nativeButton.Content = button.Text;
Ejemplo n.º 2
0
 public static void UpdateBackground(this MauiButton nativeButton, IButton button, UI.Xaml.Media.Brush?defaultBrush = null) =>
 nativeButton.UpdateBackground(button.Background, defaultBrush);
Ejemplo n.º 3
0
 public static void UpdateFont(this MauiButton nativeButton, IButton button, IFontManager fontManager) =>
 nativeButton.UpdateFont(button.Font, fontManager);
Ejemplo n.º 4
0
 public static void UpdatePadding(this MauiButton nativeButton, IButton button, UI.Xaml.Thickness?defaultThickness = null) =>
 nativeButton.UpdatePadding(button.Padding, defaultThickness);
Ejemplo n.º 5
0
 public static void UpdateCharacterSpacing(this MauiButton nativeButton, IButton button) =>
 nativeButton.UpdateCharacterSpacing((int)button.CharacterSpacing);
Ejemplo n.º 6
0
 public static void UpdateTextColor(this MauiButton nativeButton, IButton button, UI.Xaml.Media.Brush?defaultBrush = null) =>
 nativeButton.UpdateForegroundColor(button.TextColor, defaultBrush);