5 writes to _textField
Microsoft.Maui.Controls.Compatibility (5)
iOS\Renderers\SearchBarRenderer.cs (5)
75 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 242 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 253 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 264 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 308 _textField = _textField ?? Control.FindDescendantView<UITextField>();
25 references to _textField
Microsoft.Maui.Controls.Compatibility (25)
iOS\Renderers\SearchBarRenderer.cs (25)
75 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 242 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 243 if (_textField == null) 246 _textField.AttributedText = _textField.AttributedText.WithCharacterSpacing(Element.CharacterSpacing); 247 _textField.AttributedPlaceholder = _textField.AttributedPlaceholder.WithCharacterSpacing(Element.CharacterSpacing); 253 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 255 if (_textField == null) 258 _textField.TextAlignment = Element.HorizontalTextAlignment.ToPlatformTextAlignment(((IVisualElementController)Element).EffectiveFlowDirection); 264 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 266 if (_textField == null) 269 _textField.VerticalAlignment = Element.VerticalTextAlignment.ToPlatformTextAlignment(); 308 _textField = _textField ?? Control.FindDescendantView<UITextField>(); 310 if (_textField == null) 313 _textField.Font = Element.ToUIFont(); 325 if (_textField == null) 339 _textField.AttributedPlaceholder = formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: color); 340 _textField.AttributedPlaceholder.WithCharacterSpacing(Element.CharacterSpacing); 345 _textField.AttributedPlaceholder = formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: targetColor ?? ColorExtensions.PlaceholderColor.ToColor()); 346 _textField.AttributedPlaceholder.WithCharacterSpacing(Element.CharacterSpacing); 373 if (_textField == null) 376 _defaultTextColor = _defaultTextColor ?? _textField.TextColor; 382 _textField.TextColor = color.ToPlatform(); 386 _textField.TextColor = targetColor == null ? _defaultTextColor : targetColor.ToPlatform();