30 references to SearchBar
Microsoft.Maui.Controls (30)
Hosting\AppHostBuilderExtensions.cs (2)
81 handlersCollection.AddHandler<SearchBar, SearchBarHandler>(); 253 SearchBar.RemapForControls();
Platform\iOS\Extensions\SearchBarExtensions.cs (2)
10 public static void UpdateSearchBarStyle(this UISearchBar uiSearchBar, SearchBar searchBar) 15 public static void UpdateText(this UISearchBar uiSearchBar, SearchBar searchBar)
PlatformConfiguration\iOSSpecific\SearchBar.cs (4)
9 using FormsElement = Microsoft.Maui.Controls.SearchBar; 30 public static UISearchBarStyle GetSearchBarStyle(this IPlatformElementConfiguration<iOS, FormsElement> config) 36 public static IPlatformElementConfiguration<iOS, FormsElement> SetSearchBarStyle( 37 this IPlatformElementConfiguration<iOS, FormsElement> config, UISearchBarStyle style)
PlatformConfiguration\WindowsSpecific\SearchBar.cs (7)
8 using FormsElement = Maui.Controls.SearchBar; 30 public static bool GetIsSpellCheckEnabled(this IPlatformElementConfiguration<Windows, FormsElement> config) 36 public static IPlatformElementConfiguration<Windows, FormsElement> SetIsSpellCheckEnabled( 37 this IPlatformElementConfiguration<Windows, FormsElement> config, bool value) 44 public static bool IsSpellCheckEnabled(this IPlatformElementConfiguration<Windows, FormsElement> config) 50 public static void EnableSpellCheck(this IPlatformElementConfiguration<Windows, FormsElement> config) 56 public static void DisableSpellCheck(this IPlatformElementConfiguration<Windows, FormsElement> config)
SearchBar\SearchBar.cs (8)
11 public partial class SearchBar : InputView, ITextAlignmentElement, ISearchBarController, IElementConfiguration<SearchBar>, ICommandElement, ISearchBar 15 nameof(SearchCommand), typeof(ICommand), typeof(SearchBar), null, 20 nameof(SearchCommandParameter), typeof(object), typeof(SearchBar), null, 27 public static readonly BindableProperty CancelButtonColorProperty = BindableProperty.Create(nameof(CancelButtonColor), typeof(Color), typeof(SearchBar), default(Color)); 70 readonly Lazy<PlatformConfigurationRegistry<SearchBar>> _platformConfigurationRegistry; 112 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<SearchBar>>(() => new PlatformConfigurationRegistry<SearchBar>(this)); 139 public IPlatformElementConfiguration<T, SearchBar> On<T>() where T : IConfigPlatform
SearchBar\SearchBar.iOS.cs (4)
6 public static void MapText(SearchBarHandler handler, SearchBar searchBar) => 9 public static void MapSearchBarStyle(SearchBarHandler handler, SearchBar searchBar) => 12 public static void MapSearchBarStyle(ISearchBarHandler handler, SearchBar searchBar) 17 public static void MapText(ISearchBarHandler handler, SearchBar searchBar)
SearchBar\SearchBar.Mapper.cs (3)
13 SearchBarHandler.Mapper.ReplaceMapping<SearchBar, ISearchBarHandler>(PlatformConfiguration.iOSSpecific.SearchBar.SearchBarStyleProperty.PropertyName, MapSearchBarStyle); 15 SearchBarHandler.Mapper.ReplaceMapping<SearchBar, ISearchBarHandler>(nameof(Text), MapText); 16 SearchBarHandler.Mapper.ReplaceMapping<SearchBar, ISearchBarHandler>(nameof(TextTransform), MapText);