Show / Hide Table of Contents

Class ScrollEventArgs

Provides data for the Scroll event.

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
ScrollEventArgs
Inherited Members
RoutedEventArgs.OriginalSource
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.dll
Syntax
public sealed class ScrollEventArgs : RoutedEventArgs

Constructors

| Improve this Doc View Source

ScrollEventArgs(Double, ScrollEventType)

Initializes a new instance of the ScrollEventArgs class.

Declaration
public ScrollEventArgs(double newValue, ScrollEventType scrollEventType)
Parameters
Type Name Description
System.Double newValue

The new Value of the ScrollBar.

ScrollEventType scrollEventType

A ScrollEventType describing the event.

| Improve this Doc View Source

ScrollEventArgs(ScrollEventType, Double)

Initializes a new instance of the ScrollEventArgs class.

Declaration
public ScrollEventArgs(ScrollEventType scrollEventType, double newValue)
Parameters
Type Name Description
ScrollEventType scrollEventType

A ScrollEventType describing the event.

System.Double newValue

The new Value of the ScrollBar.

Properties

| Improve this Doc View Source

NewValue

Gets the new Value of the ScrollBar.

Declaration
public double NewValue { get; }
Property Value
Type Description
System.Double

The Value of the ScrollBar after the event.

| Improve this Doc View Source

ScrollEventType

Gets a ScrollEventType describing the event.

Declaration
public ScrollEventType ScrollEventType { get; }
Property Value
Type Description
ScrollEventType

A ScrollEventType describing the event.

  • Improve this Doc
  • View Source