2 writes to _uiSearchBar
Microsoft.Maui.Controls (2)
Compatibility\Handlers\Shell\iOS\SearchHandlerAppearanceTracker.cs (2)
37
_uiSearchBar
= searchBar;
400
_uiSearchBar
= null;
33 references to _uiSearchBar
Microsoft.Maui.Controls (33)
Compatibility\Handlers\Shell\iOS\SearchHandlerAppearanceTracker.cs (33)
38
_uiSearchBar
.OnEditingStarted += OnEditingStarted;
39
_uiSearchBar
.OnEditingStopped += OnEditingEnded;
40
_uiSearchBar
.TextChanged += OnTextChanged;
41
_uiSearchBar
.ShowsCancelButton = false;
42
GetDefaultSearchBarColors(
_uiSearchBar
);
53
var cancelButton =
_uiSearchBar
.FindDescendantView<UIButton>();
54
var uiTextField =
_uiSearchBar
.FindDescendantView<UITextField>();
65
_uiSearchBar
.UpdateFlowDirection(shell);
70
var uiTextField =
_uiSearchBar
.FindDescendantView<UITextField>();
77
e.Result =
_uiSearchBar
.BecomeFirstResponder();
84
UpdateSearchBarBackgroundColor(
_uiSearchBar
.FindDescendantView<UITextField>());
88
UpdateTextColor(
_uiSearchBar
.FindDescendantView<UITextField>());
92
UpdateTextTransform(
_uiSearchBar
.FindDescendantView<UITextField>());
96
UpdateSearchBarPlaceholder(
_uiSearchBar
.FindDescendantView<UITextField>());
100
UpdateFont(
_uiSearchBar
.FindDescendantView<UITextField>());
104
UpdateCancelButtonColor(
_uiSearchBar
.FindDescendantView<UIButton>());
112
UpdateSearchBarHorizontalTextAlignment(
_uiSearchBar
.FindDescendantView<UITextField>());
116
UpdateSearchBarVerticalTextAlignment(
_uiSearchBar
.FindDescendantView<UITextField>());
240
_uiSearchBar
.TintColor = targetColor?.ToPlatform() ?? _defaultTintColor;
245
var imageView =
_uiSearchBar
.FindDescendantView<UITextField>()?.LeftView as UIImageView;
254
var uiTextField =
_uiSearchBar
.FindDescendantView<UITextField>();
270
var uiTextField =
_uiSearchBar
.FindDescendantView<UITextField>();
301
_uiSearchBar
.ApplyKeyboard(keyboard);
307
_uiSearchBar
.InputAccessoryView = _numericAccessoryView;
311
_uiSearchBar
.InputAccessoryView = null;
314
_uiSearchBar
.ReloadInputViews();
324
UpdateCancelButtonColor(
_uiSearchBar
.FindDescendantView<UIButton>());
331
UpdateCancelButtonColor(
_uiSearchBar
.FindDescendantView<UIButton>());
338
_uiSearchBar
.ResignFirstResponder();
388
if (
_uiSearchBar
!= null)
390
_uiSearchBar
.OnEditingStarted -= OnEditingStarted;
391
_uiSearchBar
.OnEditingStopped -= OnEditingEnded;
392
_uiSearchBar
.TextChanged -= OnTextChanged;