Skip to main content

ScrollChangedEventArgs Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Controls

Provides data for the scroll-changed event, describing the new offsets and how far they moved.

public class ScrollChangedEventArgs : EventArgs

Constructors​

ScrollChangedEventArgs(int offsetX, int offsetY, int offsetChangeX, int offsetChangeY)​

public ScrollChangedEventArgs(int offsetX, int offsetY, int offsetChangeX, int offsetChangeY)

Initializes a new instance of the ScrollChangedEventArgs class.

Fields​

HorizontalChange​

public readonly int HorizontalChange

The amount the horizontal offset changed since the last event.

HorizontalOffset​

public readonly int HorizontalOffset

The current horizontal scroll offset.

VerticalChange​

public readonly int VerticalChange

The amount the vertical offset changed since the last event.

VerticalOffset​

public readonly int VerticalOffset

The current vertical scroll offset.