Android.Widget.GridLayout.UseDefaultMargins Property
Returns whether or not this GridLayout will allocate default margins when no corresponding layout parameters are defined.

Syntax

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

See Also

GridLayout.UseDefaultMargins
GridLayout.UseDefaultMargins
GridLayout.AlignmentMode

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns whether or not this GridLayout will allocate default margins when no corresponding layout parameters are defined.

Set method documentation [Android Documentation]

When true, GridLayout allocates default margins around children based on the child's visual characteristics. Each of the margins so defined may be independently overridden by an assignment to the appropriate layout parameter. When false, the default value of all margins is zero. When setting to true, consider setting the value of the GridLayout.AlignmentMode property to GridLayout.AlignBounds. The default value of this property is false.

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14