Class ScrollView
- Namespace
- Lime
- Assembly
- Lime.dll
public class ScrollView- Inheritance
- 
      
      ScrollView
- Derived
- Inherited Members
Constructors
ScrollView(Frame, ScrollDirection, bool, ScrollViewContentWidget)
public ScrollView(Frame frame, ScrollDirection scrollDirection = ScrollDirection.Vertical, bool processChildrenFirst = false, ScrollView.ScrollViewContentWidget overriddenContent = null)Parameters
- frameFrame
- scrollDirectionScrollDirection
- processChildrenFirstbool
- overriddenContentScrollView.ScrollViewContentWidget
Fields
BounceZoneThickness
public float BounceZoneThicknessField Value
Content
public readonly ScrollView.ScrollViewContentWidget ContentField Value
Frame
public readonly Frame FrameField Value
InertialScrollingDamping
public float InertialScrollingDampingField Value
InertialScrollingStopVelocity
public float InertialScrollingStopVelocityField Value
MaxScrollToItemTime
public float MaxScrollToItemTimeField Value
ScrollToItemVelocity
public float ScrollToItemVelocityField Value
ScrollWhenContentFits
public bool ScrollWhenContentFitsField Value
Properties
CanScroll
public bool CanScroll { get; set; }Property Value
CenterWhenContentFits
public bool CenterWhenContentFits { get; set; }Property Value
ContentLength
public float ContentLength { get; set; }Property Value
ExclusiveDrag
public bool ExclusiveDrag { get; set; }Property Value
IsBeingRefreshed
protected bool IsBeingRefreshed { get; set; }Property Value
IsDragging
public virtual bool IsDragging { get; protected set; }Property Value
MaxScrollPosition
public float MaxScrollPosition { get; }Property Value
MinScrollPosition
public float MinScrollPosition { get; }Property Value
RejectOrtogonalSwipes
public bool RejectOrtogonalSwipes { get; set; }Property Value
ScrollBySlider
public bool ScrollBySlider { get; set; }Property Value
ScrollDirection
public virtual ScrollDirection ScrollDirection { get; set; }Property Value
ScrollPosition
public float ScrollPosition { get; set; }Property Value
Methods
AssimilateChildren()
public void AssimilateChildren()CreateContentWidget()
protected virtual ScrollView.ScrollViewContentWidget CreateContentWidget()Returns
IsItemFullyOnscreen(Widget)
public bool IsItemFullyOnscreen(Widget item)Parameters
- itemWidget
Returns
IsItemOnscreen(Widget)
public bool IsItemOnscreen(Widget item)Parameters
- itemWidget
Returns
IsScrolling()
public bool IsScrolling()Returns
PositionToView(float, float, float)
public float PositionToView(float pos, float paddingBefore = 0, float paddingAfter = 0)Parameters
Returns
PositionToViewFully(Widget)
Include whole widget into frame. If the widget is too large, display top part.
public float PositionToViewFully(Widget w)Parameters
- wWidget
Returns
ProjectToScrollAxis(Vector2)
public float ProjectToScrollAxis(Vector2 vector)Parameters
- vectorVector2
Returns
ScrollTo(float, bool)
public void ScrollTo(float position, bool instantly = false)Parameters
SetProjectedPosition(Widget, float)
public void SetProjectedPosition(Widget w, float position)Parameters
SetProjectedSize(Widget, float)
public void SetProjectedSize(Widget w, float position)Parameters
SetScrollPosition(float)
protected virtual void SetScrollPosition(float value)Parameters
- valuefloat
StopScrolling()
public void StopScrolling()