SearchView.MaxWidth Property

Definition

Gets the specified maximum width in pixels, if set.

public virtual int MaxWidth { [Android.Runtime.Register("getMaxWidth", "()I", "GetGetMaxWidthHandler")] get; }
[<get: Android.Runtime.Register("getMaxWidth", "()I", "GetGetMaxWidthHandler")>]
member this.MaxWidth : int

Property Value

the maximum width of the view

Attributes

Remarks

Gets the specified maximum width in pixels, if set. Returns zero if no maximum width was specified.

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

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