Xamarin.Forms.SearchBar Members

The members of Xamarin.Forms.SearchBar are listed below.

See Also: Inherited members from Xamarin.Forms.View

Public Constructors

Public Fields

static readonly
CancelButtonColorPropertyBindableProperty. Backing store for the CancelButtonColor property.
static readonly
PlaceholderPropertyBindableProperty. Backing store for the SearchBar.Placeholder property.
static readonly
SearchCommandParameterPropertyBindableProperty. Backing store for the SearchBar.SearchCommandParameter property.
static readonly
SearchCommandPropertyBindableProperty. Backing store for the SearchBar.SearchCommand property.
static readonly
TextPropertyBindableProperty. Backing store for the SearchBar.Text property.

Public Properties

CancelButtonColorColor. Gets or sets the color of the cancel button.
Placeholderstring. Gets or sets the text that is displayed when the Xamarin.Forms.SearchBar is empty.
SearchCommandSystem.Windows.Input.ICommand. Gets or sets the command that is run when the user presses Search button.
SearchCommandParameterobject. Gets or sets the parameter that is sent to the SearchBar.SearchCommand.
Textstring. Gets or sets the text that is displayed in the Xamarin.Forms.SearchBar.

Public Events

SearchButtonPressedEvent that is raised when the user presses the Search button.
TextChangedEvent that is raised when the SearchBar.Text property is changed. For example, this event is raised as the user edits the text in the SearchBar.