Skip to main content
Version: 3.5

ScrollEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the Scroll event.

public class ScrollEventArgs : EventArgs

Constructors

Instance memberScrollEventArgs(args)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.

NameTypeDescription
argsWisejEventArgsThe arguments received from the client.

Instance memberScrollEventArgs(type, newValue)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.

NameTypeDescription
typeScrollEventTypeOne of the ScrollEventType values.
newValueInt32The new value for the scroll bar.

Instance memberScrollEventArgs(type, newValue, scroll)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.

NameTypeDescription
typeScrollEventTypeOne of the ScrollEventType values.
newValueInt32The new value for the scroll bar.
scrollScrollOrientationOne of the ScrollOrientation values.

Instance memberScrollEventArgs(type, oldValue, newValue)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.

NameTypeDescription
typeScrollEventTypeOne of the ScrollEventType values.
oldValueInt32The old value for the scroll bar.
newValueInt32The new value for the scroll bar.

Instance memberScrollEventArgs(type, oldValue, newValue, scroll)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties.

NameTypeDescription
typeScrollEventTypeOne of the ScrollEventType values.
oldValueInt32The old value for the scroll bar.
newValueInt32The new value for the scroll bar.
scrollScrollOrientationOne of the ScrollOrientation values.

Properties

Instance memberNewValue

Int32: Returns or sets the new Value of the scroll bar.

Instance memberOldValue

Int32: Returns the old Value of the scroll bar.

Instance memberScrollOrientation

ScrollOrientation: Returns the scroll bar orientation that raised the Scroll event.

Instance memberType

ScrollEventType: Returns the type of scroll event that occurred.

Used By

NameDescription
ScrollEventHandlerRepresents the method that handles the Scroll event of a ScrollableControl, ScrollBar, TrackBar, or DataGridView.