Android.Widget.SearchView Members

The members of Android.Widget.SearchView are listed below.

See Also: Inherited members from Android.Widget.LinearLayout

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

Iconifiedbool. Returns the current iconified state of the SearchView.
[read-only]
ImeOptionsAndroid.Views.InputMethods.ImeAction. Returns the IME options set on the query text field.
[read-only]
InputTypeAndroid.Text.InputTypes. Returns the input type set on the query text field.
[read-only]
IsIconfiedByDefaultbool. Returns the default iconified state of the search field.
[read-only]
MaxWidthint. Gets the specified maximum width in pixels, if set.
[read-only]
Querystring. Documentation for this section has not yet been entered.
[read-only]
QueryFormattedJava.Lang.ICharSequence. Returns the query string currently in the text field.
[read-only]
QueryHintstring. Documentation for this section has not yet been entered.
[read-only]
QueryHintFormattedJava.Lang.ICharSequence. Gets the hint text to display in the query text field.
QueryRefinementEnabledbool. Returns whether query refinement is enabled for all items or only specific ones.
SubmitButtonEnabledbool. Returns whether the submit button is enabled when necessary or never displayed.
SuggestionsAdapterCursorAdapter. Returns the adapter used for suggestions, if any.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

OnActionViewCollapsed()
Called when this view is collapsed as an action view.
OnActionViewExpanded()
Called when this view is expanded as an action view.
SetIconifiedByDefault(bool)
Sets the default or resting state of the search field.
SetImeOptions(Android.Views.InputMethods.ImeAction)
Sets the IME options on the query text field.
SetInputType(Android.Text.InputTypes)
Sets the input type on the query text field.
SetMaxWidth(int)
Makes the view at most this many pixels wide
SetOnCloseListener(SearchView.IOnCloseListener)
Sets a listener to inform when the user closes the SearchView.
SetOnQueryTextFocusChangeListener(Android.Views.View.IOnFocusChangeListener)
Sets a listener to inform when the focus of the query text field changes.
SetOnQueryTextListener(SearchView.IOnQueryTextListener)
Sets a listener for user actions within the SearchView.
SetOnSearchClickListener(Android.Views.View.IOnClickListener)
Sets a listener to inform when the search button is pressed.
SetOnSuggestionListener(SearchView.IOnSuggestionListener)
Sets a listener to inform when a suggestion is focused or clicked.
SetQuery(Java.Lang.ICharSequence, bool)
Sets a query string in the text field and optionally submits the query as well.
SetQuery(string, bool)
Documentation for this section has not yet been entered.
SetQueryHint(Java.Lang.ICharSequence)
Sets the hint text to display in the query text field.
SetQueryHint(string)
Documentation for this section has not yet been entered.
SetSearchableInfo(Android.App.SearchableInfo)
Sets the SearchableInfo for this SearchView.

Public Events

CloseDocumentation for this section has not yet been entered.
QueryTextChangeDocumentation for this section has not yet been entered.
QueryTextFocusChangeDocumentation for this section has not yet been entered.
QueryTextSubmitDocumentation for this section has not yet been entered.
SearchClickDocumentation for this section has not yet been entered.
SuggestionClickDocumentation for this section has not yet been entered.
SuggestionSelectDocumentation for this section has not yet been entered.