Class Sized
A class that represents layout of UnityEngine.RectTransform with fixed size in an axis.
Inherited Members
Xamarin.Forms.BindableObject.add_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Xamarin.Forms.BindableObject.remove_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Sized : RectTransformLayout, INotifyPropertyChanged, IDynamicResourceHandler
Remarks
Internally, it sets the same value for UnityEngine.RectTransform.anchorMin and UnityEngine.RectTransform.anchorMax.
Fields
| Improve this Doc View SourceAnchoredPositionProperty
Backing store for the AnchoredPosition property.
Declaration
public static readonly BindableProperty AnchoredPositionProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
AnchorProperty
Backing store for the Anchor property.
Declaration
public static readonly BindableProperty AnchorProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
SizeDeltaProperty
Backing store for the SizeDelta property.
Declaration
public static readonly BindableProperty SizeDeltaProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
Properties
| Improve this Doc View SourceAnchor
A property that represents UnityEngine.RectTransform.anchorMin and UnityEngine.RectTransform.anchorMax.
Declaration
public float Anchor { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
AnchoredPosition
A property that represents UnityEngine.RectTransform.anchoredPosition.
Declaration
public float AnchoredPosition { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
SizeDelta
A property that represents UnityEngine.RectTransform.sizeDelta.
Declaration
public float SizeDelta { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
Methods
| Improve this Doc View SourceInitializeBodyInMainThread()
A method to initialize component.
Declaration
protected override sealed void InitializeBodyInMainThread()
Overrides
Remarks
The caller must call this method in the main thread.
The caller must ensure Body property is not null.