10 references to GetChildrenOfType
Microsoft.Maui.Controls.Compatibility (10)
Android\NativeViewWrapper.cs (1)
28 NativeView.SetBindingContext(BindingContext, (view) => (view as ViewGroup)?.GetChildrenOfType<global::Android.Views.View>());
Android\Renderers\ScrollViewRenderer.cs (1)
204 foreach (AHorizontalScrollView child in this.GetChildrenOfType<AHorizontalScrollView>())
Android\Renderers\SearchBarRenderer.cs (7)
96 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault(); 180 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault(); 191 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault(); 243 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault(); 276 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault(); 291 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault(); 336 _editText = _editText ?? Control.GetChildrenOfType<AppCompatAutoCompleteTextView>().FirstOrDefault();
Android\Renderers\ViewGroupExtensions.cs (1)
20 IEnumerable<T> myChildren = (child as AViewGroup).GetChildrenOfType<T>();