Show / Hide Table of Contents

Class GridLayoutGroup

A LayoutGroup<T> that represents UnityEngine.UI.GridLayoutGroup.

Inheritance
Object
LayoutGroup<UnityEngine.UI.GridLayoutGroup>
GridLayoutGroup
Inherited Members
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingLeftProperty
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingRightProperty
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingTopProperty
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingBottomProperty
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.ChildAlignmentProperty
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingLeft
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingRight
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingTop
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.PaddingBottom
LayoutGroup<UnityEngine.UI.GridLayoutGroup>.ChildAlignment
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class GridLayoutGroup : LayoutGroup<UnityEngine.UI.GridLayoutGroup>
Examples
<m:RectTransform
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:m="clr-namespace:Mux.Markup;assembly=Mux.Markup"
    xmlns:mu="clr-namespace:Mux.Markup;assembly=Mux.Markup.UI"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <mu:StandaloneInputModule />
    <mu:Canvas />
    <mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
    <mu:GraphicRaycaster />
    <mu:GridLayoutGroup Constraint="{mu:FixedColumnCount Count=2}" />
    <m:RectTransform><mu:Image Color="{m:Color R=0, G=0, B=1}" /></m:RectTransform>
    <m:RectTransform><mu:Image Color="{m:Color R=0, G=1, B=0}" /></m:RectTransform>
    <m:RectTransform><mu:Image Color="{m:Color R=1, G=0, B=0}" /></m:RectTransform>
</m:RectTransform>

Fields

| Improve this Doc View Source

CellSizeProperty

Backing store for the CellSize property.

Declaration
public static readonly BindableProperty CellSizeProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

ConstraintProperty

Backing store for the Constraint property.

Declaration
public static readonly BindableProperty ConstraintProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

SpacingProperty

Backing store for the Spacing property.

Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

StartAxisProperty

Backing store for the StartAxis property.

Declaration
public static readonly BindableProperty StartAxisProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

StartCornerProperty

Backing store for the StartCorner property.

Declaration
public static readonly BindableProperty StartCornerProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

CellSize

A property that represents UnityEngine.UI.GridLayoutGroup.cellSize.

Declaration
public UnityEngine.Vector2 CellSize { get; set; }
Property Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

Constraint

A property that represents the constraint for UnityEngine.UI.GridLayoutGroup.

Declaration
public Modifier Constraint { get; set; }
Property Value
Type Description
Modifier
See Also
Flexible
FixedColumnCount
FixedRowCount
| Improve this Doc View Source

Spacing

A property that represents UnityEngine.UI.GridLayoutGroup.spacing.

Declaration
public UnityEngine.Vector2 Spacing { get; set; }
Property Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

StartAxis

A property that represents UnityEngine.UI.GridLayoutGroup.startAxis.

Declaration
public UnityEngine.UI.GridLayoutGroup.Axis StartAxis { get; set; }
Property Value
Type Description
UnityEngine.UI.GridLayoutGroup.Axis
| Improve this Doc View Source

StartCorner

A property that represents UnityEngine.UI.GridLayoutGroup.startCorner.

Declaration
public UnityEngine.UI.GridLayoutGroup.Corner StartCorner { get; set; }
Property Value
Type Description
UnityEngine.UI.GridLayoutGroup.Corner

Methods

| Improve this Doc View Source

AwakeInMainThread()

Declaration
protected override void AwakeInMainThread()
Overrides
Mux.Markup.LayoutGroup<UnityEngine.UI.GridLayoutGroup>.AwakeInMainThread()
| Improve this Doc View Source

DestroyMuxInMainThread()

Declaration
protected override void DestroyMuxInMainThread()
| Improve this Doc View Source

OnBindingContextChanged()

Declaration
protected override void OnBindingContextChanged()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX