protected virtual void ApplyTheme() { ContainedButtonThemer.ApplyScheme(_buttonScheme, Control); // Colors have to be re-applied to Character spacing _buttonLayoutManager?.UpdateText(); }
public override void ApplyScheme() { if (TypedNativeView == null) { return; } ContainedButtonThemer.ApplyScheme(buttonScheme, TypedNativeView); }
protected virtual void ApplyTheme() { ContainedButtonThemer.ApplyScheme(_buttonScheme, Control); // Colors have to be re-applied to Character spacing _buttonLayoutManager?.UpdateText(); Color textColor = Element.TextColor; if (textColor.IsDefault) { Control.SetTitleColor(MaterialColors.Light.DisabledColor, UIControlState.Disabled); } else { Control.SetTitleColor(textColor.ToUIColor(), UIControlState.Disabled); } }
protected virtual void ApplyTheme() { ContainedButtonThemer.ApplyScheme(_buttonScheme, Control); }