Beispiel #1
0
        protected virtual void ApplyTheme()
        {
            ContainedButtonThemer.ApplyScheme(_buttonScheme, Control);

            // Colors have to be re-applied to Character spacing
            _buttonLayoutManager?.UpdateText();
        }
Beispiel #2
0
 public override void ApplyScheme()
 {
     if (TypedNativeView == null)
     {
         return;
     }
     ContainedButtonThemer.ApplyScheme(buttonScheme, TypedNativeView);
 }
Beispiel #3
0
        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);
 }