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)
Initializes a new instance of the VirtualScrollScrolledEventArgs class.
public VirtualScrollScrolledEventArgs(double scrollX, double scrollY, double totalScrollableWidth, double totalScrollableHeight)
Parameters
scrollXdoubleThe current horizontal scroll position in device-independent units.
scrollYdoubleThe current vertical scroll position in device-independent units.
totalScrollableWidthdoubleThe total scrollable width in device-independent units.
totalScrollableHeightdoubleThe total scrollable height in device-independent units.
Properties
ScrollPercentageX
Gets the horizontal scroll percentage (0.0 to 1.0), or 0.0 if not scrollable horizontally.
public double ScrollPercentageX { get; }
Property Value
ScrollPercentageY
Gets the vertical scroll percentage (0.0 to 1.0), or 0.0 if not scrollable vertically.
public double ScrollPercentageY { get; }
Property Value
ScrollX
Gets the current horizontal scroll position in device-independent units.
public double ScrollX { get; }
Property Value
ScrollY
Gets the current vertical scroll position in device-independent units.
public double ScrollY { get; }
Property Value
TotalScrollableHeight
Gets the total scrollable height in device-independent units.
public double TotalScrollableHeight { get; }
Property Value
TotalScrollableWidth
Gets the total scrollable width in device-independent units.
public double TotalScrollableWidth { get; }