Class Elastic
A class that represents the elastic movement of UnityEngine.UI.ScrollRect.
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class Elastic : ScrollRect.Modifier
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"
xmlns:playgroundMarkup="clr-namespace:Mux.Playground.Markup;assembly=Assembly-CSharp">
<!--
Note that you can use "using" scheme instead of "clr-namespace" to omit assembly
specification if:
- the referenced type is in an assembly already loaded. (interpreter)
- the referenced type is in the assembly containing the compiled XAML. (compiler)
-->
<mu:StandaloneInputModule />
<mu:Canvas />
<mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
<mu:GraphicRaycaster />
<playgroundMarkup:ScrollViewTransform Movement="{mu:Elastic}" />
</m:RectTransform>
Fields
| Improve this Doc View SourceElasticityProperty
Backing store for the Elasticity property.
Declaration
public static readonly BindableProperty ElasticityProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceElasticity
A property that represents UnityEngine.UI.ScrollRect.elasticity.
Declaration
public float Elasticity { get; set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
This is the content property; you do not have to specify the property name in XAML.
Methods
| Improve this Doc View SourceInitializeBodyInMainThread()
Declaration
protected override sealed void InitializeBodyInMainThread()