SearchBar
Basic example
View.SearchBar(placeholder = "SearchBar")
Basic example with styling
View.SearchBar(
horizontalOptions = style.Position,
verticalOptions = style.Position,
backgroundColor = style.ViewColor,
placeholder = "SearchBar"
)
See also:
More examples
A simple SearchBar
is as follows:
View.SearchBar(
placeholder = "Enter search term",
searchCommand = (fun searchBarText -> dispatch (ExecuteSearch searchBarText)),
searchCommandCanExecute=true
)
