Aracılığıyla paylaş


SearchView.Iconified Property

Definition

Returns the current iconified state of the SearchView. -or- Iconifies or expands the SearchView.

public virtual bool Iconified { [Android.Runtime.Register("isIconified", "()Z", "GetIsIconifiedHandler")] get; [Android.Runtime.Register("setIconified", "(Z)V", "GetSetIconified_ZHandler")] set; }
[<get: Android.Runtime.Register("isIconified", "()Z", "GetIsIconifiedHandler")>]
[<set: Android.Runtime.Register("setIconified", "(Z)V", "GetSetIconified_ZHandler")>]
member this.Iconified : bool with get, set

Property Value

true if the SearchView is currently iconified, false if the search field is fully visible.

Attributes

Remarks

Property getter documentation:

Returns the current iconified state of the SearchView.

Java documentation for android.widget.SearchView.isIconified().

Property setter documentation:

Iconifies or expands the SearchView. Any query text is cleared when iconified. This is a temporary state and does not override the default iconified state set by #setIconifiedByDefault(boolean). If the default state is iconified, then a false here will only be valid until the user closes the field. And if the default state is expanded, then a true here will only clear the text field and not close it.

Java documentation for android.widget.SearchView.setIconified(boolean).

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.

Applies to