Table of Contents

Class ScrollValueExtensionBase

Namespace
Nalu
Assembly
Nalu.Maui.Scaffold.dll

Shared machinery of ScrollValueExtension and ThemeScrollValueExtension: builds the multi-binding over the ambient scroll channel (ScrollOffset plus the page-level ScrollRampStartProperty/ScrollRampEndProperty ramp defaults and the app theme), targeting any element in the scaffold's tree — a page carrying the attached nav bar appearance properties included. Not derivable outside this library — use ScrollValueExtension or ThemeScrollValueExtension.

public abstract class ScrollValueExtensionBase : IMarkupExtension<BindingBase>, IMarkupExtension
Inheritance
ScrollValueExtensionBase
Implements
Derived
Inherited Members

Properties

Easing

Gets or sets the easing applied inside [RampStart, RampEnd]; extrapolated values stay linear.

public Easing? Easing { get; set; }

Property Value

Easing

Extrapolate

Gets or sets the behavior outside the [RampStart, RampEnd] window.

public ScrollValueExtrapolation Extrapolate { get; set; }

Property Value

ScrollValueExtrapolation

RampEnd

Gets or sets the scroll offset where interpolation ends (defaults to the page-level ScrollRampEndProperty); equal to RampStart makes the value step at that offset.

public double? RampEnd { get; set; }

Property Value

double?

RampStart

Gets or sets the scroll offset where interpolation starts (defaults to the page-level ScrollRampStartProperty).

public double? RampStart { get; set; }

Property Value

double?

Methods

ProvideValue(IServiceProvider)

[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(Scaffold))]
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(ScaffoldNavBarContext))]
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(ScrollValueThemeListener))]
public BindingBase ProvideValue(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

Returns

BindingBase