Table of Contents

Class VirtualScrollScrolledEventArgs

Namespace
Nalu
Assembly
Nalu.Maui.VirtualScroll.dll

Event arguments for the scrolled event in VirtualScroll.

public class VirtualScrollScrolledEventArgs : EventArgs
Inheritance
VirtualScrollScrolledEventArgs
Inherited Members

Constructors

VirtualScrollScrolledEventArgs(double, double, double, double, double, double)

Initializes a new instance of the VirtualScrollScrolledEventArgs class.

public VirtualScrollScrolledEventArgs(double scrollX, double scrollY, double totalScrollableWidth, double totalScrollableHeight, double viewportWidth, double viewportHeight)

Parameters

scrollX double

The current horizontal scroll position in device-independent units.

scrollY double

The current vertical scroll position in device-independent units.

totalScrollableWidth double

The total scrollable width in device-independent units.

totalScrollableHeight double

The total scrollable height in device-independent units.

viewportWidth double

The width of the viewport in device-independent units.

viewportHeight double

The height of the viewport in device-independent units.

Properties

RemainingScrollX

Gets the remaining horizontal scroll distance in device-independent units.

public double RemainingScrollX { get; }

Property Value

double

Remarks

Will be 0 if already at the end or if not scrollable horizontally.

RemainingScrollY

Gets the remaining vertical scroll distance in device-independent units.

public double RemainingScrollY { get; }

Property Value

double

Remarks

Will be 0 if already at the end or if not scrollable vertically.

ScrollPercentageX

Gets the horizontal scroll percentage (0.0 to 1.0), or 1.0 if not scrollable horizontally.

public double ScrollPercentageX { get; }

Property Value

double

ScrollPercentageY

Gets the vertical scroll percentage (0.0 to 1.0), or 1.0 if not scrollable vertically.

public double ScrollPercentageY { get; }

Property Value

double

ScrollX

Gets the current horizontal scroll position in device-independent units.

public double ScrollX { get; }

Property Value

double

ScrollY

Gets the current vertical scroll position in device-independent units.

public double ScrollY { get; }

Property Value

double

TotalScrollableHeight

Gets the total scrollable height in device-independent units.

public double TotalScrollableHeight { get; }

Property Value

double

TotalScrollableWidth

Gets the total scrollable width in device-independent units.

public double TotalScrollableWidth { get; }

Property Value

double

ViewportHeight

Gets the height of the viewport in device-independent units.

public double ViewportHeight { get; }

Property Value

double

ViewportWidth

Gets the width of the viewport in device-independent units.

public double ViewportWidth { get; }

Property Value

double