GridLayout.UseDefaultMargins Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.