Beispiel #1
0
        void UpdateTextColor()
        {
            var textColor = _searchHandler.TextColor;

            _textColorSwitcher?.UpdateTextColor(_editText, textColor);
            UpdateImageButtonIconColor("SearchIcon", textColor);
            UpdateClearPlaceholderIconColor();
            //we need to set the cursor to
        }
Beispiel #2
0
 protected override void UpdateTextColor()
 {
     _textColorSwitcher = _textColorSwitcher ?? new TextColorSwitcher(EditText.TextColors, Element.UseLegacyColorManagement());
     _textColorSwitcher.UpdateTextColor(EditText, Element.TextColor);
 }
Beispiel #3
0
 protected override void UpdatePlaceholderColor()
 {
     _hintColorSwitcher = _hintColorSwitcher ?? new TextColorSwitcher(EditText.HintTextColors, Element.UseLegacyColorManagement());
     _hintColorSwitcher.UpdateTextColor(EditText, Element.PlaceholderColor, EditText.SetHintTextColor);
 }
Beispiel #4
0
 void UpdateTextColor()
 {
     _textColorSwitcher?.UpdateTextColor(_editText, Element.TextColor);
 }
Beispiel #5
0
 void UpdatePlaceholderColor()
 {
     _hintColorSwitcher?.UpdateTextColor(_editText, Element.PlaceholderColor, _editText.SetHintTextColor);
 }
Beispiel #6
0
 void UpdateTextColor()
 {
     _textColorSwitcher?.UpdateTextColor(Control, Element.TextColor);
 }
Beispiel #7
0
 void UpdatePlaceholderColor()
 {
     _hintColorSwitcher.UpdateTextColor(Control, Element.PlaceholderColor, Control.SetHintTextColor);
 }
Beispiel #8
0
 void UpdatePlaceholderColor()
 {
     _hintColorSwitcher?.UpdateTextColor(_editText, _searchHandler.PlaceholderColor, _editText.SetHintTextColor);
 }
Beispiel #9
0
 protected internal virtual void UpdatePlaceholderColor()
 {
     _hintColorSwitcher.UpdateTextColor(EditText, Element.PlaceholderColor, EditText.SetHintTextColor);
 }
Beispiel #10
0
 internal protected void UpdateTextColor(Color color) => _textColorSwitcher.UpdateTextColor(EditText, color);