Class GridLayoutGroup
A LayoutGroup<T> that represents UnityEngine.UI.GridLayoutGroup.
Inherited Members
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 SourceCellSizeProperty
Backing store for the CellSize property.
Declaration
public static readonly BindableProperty CellSizeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ConstraintProperty
Backing store for the Constraint property.
Declaration
public static readonly BindableProperty ConstraintProperty
Field Value
Type | Description |
---|---|
BindableProperty |
SpacingProperty
Backing store for the Spacing property.
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Type | Description |
---|---|
BindableProperty |
StartAxisProperty
Backing store for the StartAxis property.
Declaration
public static readonly BindableProperty StartAxisProperty
Field Value
Type | Description |
---|---|
BindableProperty |
StartCornerProperty
Backing store for the StartCorner property.
Declaration
public static readonly BindableProperty StartCornerProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceCellSize
A property that represents UnityEngine.UI.GridLayoutGroup.cellSize.
Declaration
public UnityEngine.Vector2 CellSize { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector2 |
Constraint
A property that represents the constraint for UnityEngine.UI.GridLayoutGroup.
Declaration
public Modifier Constraint { get; set; }
Property Value
Type | Description |
---|---|
Modifier |
See Also
| Improve this Doc View SourceSpacing
A property that represents UnityEngine.UI.GridLayoutGroup.spacing.
Declaration
public UnityEngine.Vector2 Spacing { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector2 |
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 |
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 SourceAwakeInMainThread()
Declaration
protected override void AwakeInMainThread()
Overrides
Mux.Markup.LayoutGroup<UnityEngine.UI.GridLayoutGroup>.AwakeInMainThread()
|
Improve this Doc
View Source
DestroyMuxInMainThread()
Declaration
protected override void DestroyMuxInMainThread()
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()