Class Stretch
A markup extension that represents layout of UnityEngine.RectTransform with variable 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 Stretch : RectTransformLayout, INotifyPropertyChanged, IDynamicResourceHandler
Fields
| Improve this Doc View SourceAnchorMaxProperty
Backing store for the AnchorMax property.
Declaration
public static readonly BindableProperty AnchorMaxProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
AnchorMinProperty
Backing store for the AnchorMin property.
Declaration
public static readonly BindableProperty AnchorMinProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
OffsetMaxProperty
Backing store for the OffsetMax property.
Declaration
public static readonly BindableProperty OffsetMaxProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
OffsetMinProperty
Backing store for the OffsetMin property.
Declaration
public static readonly BindableProperty OffsetMinProperty
Field Value
| Type | Description |
|---|---|
| BindableProperty |
Properties
| Improve this Doc View SourceAnchorMax
A property that represents UnityEngine.RectTransform.anchorMax.
Declaration
public float AnchorMax { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
AnchorMin
A property that represents UnityEngine.RectTransform.anchorMin.
Declaration
public float AnchorMin { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
OffsetMax
A property that represents UnityEngine.RectTransform.offsetMax.
Declaration
public float OffsetMax { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
OffsetMin
A property that represents UnityEngine.RectTransform.offsetMin.
Declaration
public float OffsetMin { 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.
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name |