Share via


GridView.StretchMode Property

Definition

Control how items are stretched to fill their space.

public virtual Android.Widget.StretchMode StretchMode { [Android.Runtime.Register("getStretchMode", "()I", "GetGetStretchModeHandler")] get; [Android.Runtime.Register("setStretchMode", "(I)V", "GetSetStretchMode_IHandler")] set; }
[<get: Android.Runtime.Register("getStretchMode", "()I", "GetGetStretchModeHandler")>]
[<set: Android.Runtime.Register("setStretchMode", "(I)V", "GetSetStretchMode_IHandler")>]
member this.StretchMode : Android.Widget.StretchMode with get, set

Property Value

Attributes

Remarks

Control how items are stretched to fill their space.

Java documentation for android.widget.GridView.setStretchMode(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