GridLayout.UseDefaultMargins Property

Definition

Returns whether or not this GridLayout will allocate default margins when no corresponding layout parameters are defined. -or- When true, GridLayout allocates default margins around children based on the child's visual characteristics.

public virtual bool UseDefaultMargins { [Android.Runtime.Register("getUseDefaultMargins", "()Z", "GetGetUseDefaultMarginsHandler")] get; [Android.Runtime.Register("setUseDefaultMargins", "(Z)V", "GetSetUseDefaultMargins_ZHandler")] set; }
[<get: Android.Runtime.Register("getUseDefaultMargins", "()Z", "GetGetUseDefaultMarginsHandler")>]
[<set: Android.Runtime.Register("setUseDefaultMargins", "(Z)V", "GetSetUseDefaultMargins_ZHandler")>]
member this.UseDefaultMargins : bool with get, set

Property Value

Boolean

true if default margins should be allocated

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.GridLayout.getUseDefaultMargins().

Property setter documentation:

Java documentation for android.widget.GridLayout.setUseDefaultMargins(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

See also