BnScrollEventArgs
Namespace: BlazorNative.Core
Event arguments for the scroll event: the shell-conflated
vertical content offset of a scroll viewport.
public sealed class BnScrollEventArgs : System.EventArgs
Inheritance Object → EventArgs → BnScrollEventArgs
Remarks:
The offset arrives in density-independent units (dp on Android —
divided by density at the source, the 6.1 one-conversion-site rule — and
points on iOS) and is the LATEST sample the shell's conflation slot held:
at most one scroll dispatch per committed frame, older samples
dropped (scroll position is idempotent state, not an event log). It is
raw from the shell — iOS rubber-banding can make it negative or push it
past the scroll range; consumers clamp (BnList's window function
does).
Properties
OffsetY
Vertical content offset in dp/pt. 0 = top of the content.
public float OffsetY { get; init; }
Property Value
Constructors
BnScrollEventArgs()
public BnScrollEventArgs()