25 references to SearchBar
Microsoft.Maui.Controls (25)
Hosting\AppHostBuilderExtensions.cs (2)
81
handlersCollection.AddHandler<
SearchBar
, SearchBarHandler>();
259
SearchBar
.RemapForControls();
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)
14
public partial class SearchBar : InputView, ITextAlignmentElement, ISearchBarController, IElementConfiguration<
SearchBar
>, ICommandElement, ISearchBar
18
nameof(SearchCommand), typeof(ICommand), typeof(
SearchBar
), null,
23
nameof(SearchCommandParameter), typeof(object), typeof(
SearchBar
), null,
30
public static readonly BindableProperty CancelButtonColorProperty = BindableProperty.Create(nameof(CancelButtonColor), typeof(Color), typeof(
SearchBar
), default(Color));
73
readonly Lazy<PlatformConfigurationRegistry<
SearchBar
>> _platformConfigurationRegistry;
115
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
SearchBar
>>(() => new PlatformConfigurationRegistry<
SearchBar
>(this));
142
public IPlatformElementConfiguration<T,
SearchBar
> On<T>() where T : IConfigPlatform
SearchBar\SearchBar.Mapper.cs (2)
15
SearchBarHandler.Mapper.ReplaceMapping<
SearchBar
, ISearchBarHandler>(nameof(Text), MapText);
16
SearchBarHandler.Mapper.ReplaceMapping<
SearchBar
, ISearchBarHandler>(nameof(TextTransform), MapText);
SearchBar\SearchBar.Standard.cs (2)
6
public static void MapText(SearchBarHandler handler,
SearchBar
searchBar) =>
9
public static void MapText(ISearchBarHandler handler,
SearchBar
searchBar) { }