Sdílet prostřednictvím


ListPopupWindow.Width Property

Definition

Sets the width of the popup window in pixels.

public virtual int Width { [Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")] get; [Android.Runtime.Register("setWidth", "(I)V", "GetSetWidth_IHandler")] set; }
[<get: Android.Runtime.Register("getWidth", "()I", "GetGetWidthHandler")>]
[<set: Android.Runtime.Register("setWidth", "(I)V", "GetSetWidth_IHandler")>]
member this.Width : int with get, set

Property Value

The width of the popup window in pixels.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.ListPopupWindow.getWidth().

Property setter documentation:

Sets the width of the popup window in pixels. Can also be #MATCH_PARENT or #WRAP_CONTENT.

Java documentation for android.widget.ListPopupWindow.setWidth(int).

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