SearchView.IOnCloseListener.OnClose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The user is attempting to close the SearchView.
[Android.Runtime.Register("onClose", "()Z", "GetOnCloseHandler:Android.Widget.SearchView/IOnCloseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnClose ();
[<Android.Runtime.Register("onClose", "()Z", "GetOnCloseHandler:Android.Widget.SearchView/IOnCloseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnClose : unit -> bool
Returns
true if the listener wants to override the default behavior of clearing the text field and dismissing it, false otherwise.
- Attributes
Remarks
The user is attempting to close the SearchView.
Java documentation for android.widget.SearchView.OnCloseListener.onClose()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.