Class ScrollPositionWithSingleContext
Inheritance
System.Object
ScrollPositionWithSingleContext
Syntax
public class ScrollPositionWithSingleContext : ScrollPosition, Listenable, ScrollMetrics, ScrollActivityDelegate
Constructors
ScrollPositionWithSingleContext(ScrollPhysics, ScrollContext, Nullable<Single>, Boolean, ScrollPosition, String)
Declaration
public ScrollPositionWithSingleContext(ScrollPhysics physics = null, ScrollContext context = null, float? initialPixels, bool keepScrollOffset = true, ScrollPosition oldPosition = null, string debugLabel = null)
Parameters
Properties
axisDirection
Declaration
public override AxisDirection axisDirection { get; }
Property Value
Overrides
Implements
userScrollDirection
Declaration
public override ScrollDirection userScrollDirection { get; }
Property Value
Overrides
Methods
absorb(ScrollPosition)
Declaration
protected override void absorb(ScrollPosition other)
Parameters
Overrides
animateTo(Single, TimeSpan, Curve)
Declaration
public override IPromise animateTo(float to, TimeSpan duration, Curve curve)
Parameters
Type |
Name |
Description |
System.Single |
to |
|
System.TimeSpan |
duration |
|
Curve |
curve |
|
Returns
Overrides
applyNewDimensions()
Declaration
protected override void applyNewDimensions()
Overrides
applyUserOffset(Single)
Declaration
public virtual void applyUserOffset(float delta)
Parameters
Type |
Name |
Description |
System.Single |
delta |
|
Implements
applyUserScrollOffset(Single)
Declaration
public virtual void applyUserScrollOffset(float delta)
Parameters
Type |
Name |
Description |
System.Single |
delta |
|
Implements
beginActivity(ScrollActivity)
Declaration
public override void beginActivity(ScrollActivity newActivity)
Parameters
Overrides
debugFillDescription(List<String>)
Declaration
protected override void debugFillDescription(List<string> description)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.String> |
description |
|
Overrides
dispose()
Declaration
public override void dispose()
Overrides
drag(DragStartDetails, VoidCallback)
Declaration
public override Drag drag(DragStartDetails details, VoidCallback dragCancelCallback)
Parameters
Returns
Overrides
goBallistic(Single)
Declaration
public void goBallistic(float velocity)
Parameters
Type |
Name |
Description |
System.Single |
velocity |
|
Implements
goIdle()
Declaration
Implements
hold(VoidCallback)
Declaration
public override ScrollHoldController hold(VoidCallback holdCancelCallback)
Parameters
Returns
Overrides
jumpTo(Single)
Declaration
public override void jumpTo(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
Overrides
setPixels(Single)
Declaration
public override float setPixels(float newPixels)
Parameters
Type |
Name |
Description |
System.Single |
newPixels |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Implements
updateUserScrollDirection(ScrollDirection)
Declaration
protected void updateUserScrollDirection(ScrollDirection value)
Parameters
Extension Methods