Class FixedColumnCount
A class that represents the fixed column count constraint of UnityEngine.UI.GridLayoutGroup.
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class FixedColumnCount : FixedCount
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>
Properties
| Improve this Doc View SourceConstraint
A property that represents UnityEngine.UI.GridLayoutGroup.constraint.
Declaration
protected override sealed UnityEngine.UI.GridLayoutGroup.Constraint Constraint { get; }
Property Value
Type | Description |
---|---|
UnityEngine.UI.GridLayoutGroup.Constraint |