Show / Hide Table of Contents

Class Scrollbar

A Selectable<T> that represents UnityEngine.UI.Scrollbar.

Inheritance
Object
Selectable<UnityEngine.UI.Scrollbar>
Scrollbar
Inherited Members
Selectable<UnityEngine.UI.Scrollbar>.InteractableProperty
Selectable<UnityEngine.UI.Scrollbar>.TargetGraphicProperty
Selectable<UnityEngine.UI.Scrollbar>.TransitionProperty
Selectable<UnityEngine.UI.Scrollbar>.ColorsProperty
Selectable<UnityEngine.UI.Scrollbar>.SpriteStateProperty
Selectable<UnityEngine.UI.Scrollbar>.AnimationTriggersProperty
Selectable<UnityEngine.UI.Scrollbar>.NavigationProperty
Selectable<UnityEngine.UI.Scrollbar>.Interactable
Selectable<UnityEngine.UI.Scrollbar>.TargetGraphic
Selectable<UnityEngine.UI.Scrollbar>.Transition
Selectable<UnityEngine.UI.Scrollbar>.Colors
Selectable<UnityEngine.UI.Scrollbar>.SpriteState
Selectable<UnityEngine.UI.Scrollbar>.AnimationTriggers
Selectable<UnityEngine.UI.Scrollbar>.Navigation
Selectable<UnityEngine.UI.Scrollbar>.AddToInMainThread(UnityEngine.GameObject)
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class Scrollbar : Selectable<UnityEngine.UI.Scrollbar>
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:mue="clr-namespace:Mux.Markup.Extras;assembly=Mux.Markup.UI"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <mu:StandaloneInputModule />
    <mu:Canvas />
    <mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
    <mu:GraphicRaycaster />
    <!--
        You have to give property name "Path" to Binding and "Name" to x:Reference
        only when you compile the interpreter with IL2CPP.
        It is because ContentPropertyAttribute does not work with IL2CPP.
    -->
    <mu:Scrollbar HandleRect="{Binding Path=Body, Source={x:Reference Name=handle}}" />
    <m:RectTransform x:Name="handle">
        <mu:Image Color="{m:Color R=0, G=0, B=1}" />
    </m:RectTransform>
</m:RectTransform>

Fields

| Improve this Doc View Source

DirectionProperty

Backing store for the Direction property.

Declaration
public static readonly BindableProperty DirectionProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

HandleRectProperty

Backing store for the HandleRect property.

Declaration
public static readonly BindableProperty HandleRectProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

NumberOfStepsProperty

Backing store for the NumberOfSteps property.

Declaration
public static readonly BindableProperty NumberOfStepsProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

SizeProperty

Backing store for the Size property.

Declaration
public static readonly BindableProperty SizeProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

ValueProperty

Backing store for the Value property.

Declaration
public static readonly BindableProperty ValueProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

Direction

A property that represents UnityEngine.UI.Scrollbar.direction.

Declaration
public UnityEngine.UI.Scrollbar.Direction Direction { get; set; }
Property Value
Type Description
UnityEngine.UI.Scrollbar.Direction
| Improve this Doc View Source

HandleRect

A property that represents UnityEngine.UI.Scrollbar.handleRect.

Declaration
public UnityEngine.RectTransform HandleRect { get; set; }
Property Value
Type Description
UnityEngine.RectTransform
| Improve this Doc View Source

NumberOfSteps

A property that represents UnityEngine.UI.Scrollbar.numberOfSteps.

Declaration
public int NumberOfSteps { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Size

A property that represents UnityEngine.UI.Scrollbar.size.

Declaration
public float Size { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

Value

A property that represents UnityEngine.UI.Scrollbar.value.

Declaration
public float Value { get; set; }
Property Value
Type Description
Single

Methods

| Improve this Doc View Source

AwakeInMainThread()

Declaration
protected override void AwakeInMainThread()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX