Xamarin.Forms by Xamarin Inc.

<PackageReference Include="Xamarin.Forms" Version="1.4.4.6391" />

.NET API 713,216 bytes

 SearchBar

public class SearchBar : View
A View control that provides a search box.

Backing store for the CancelButtonColor property.

public static readonly BindableProperty PlaceholderProperty

Backing store for the Placeholder property.

Backing store for the SearchCommandParameter property.

public static readonly BindableProperty SearchCommandProperty

Backing store for the SearchCommand property.

public static readonly BindableProperty TextProperty

Backing store for the Text property.

public Color CancelButtonColor { get; set; }

Gets or sets the color of the cancel button.

public string Placeholder { get; set; }

Gets or sets the text that is displayed when the SearchBar is empty.

public ICommand SearchCommand { get; set; }

Gets or sets the command that is run when the user presses Search button.

public object SearchCommandParameter { get; set; }

Gets or sets the parameter that is sent to the SearchCommand.

public string Text { get; set; }

Gets or sets the text that is displayed in the SearchBar.

Event that is raised when the user presses the Search button.

Event that is raised when the Text property is changed. For example, this event is raised as the user edits the text in the SearchBar.

public SearchBar()