Skip to main content
Version: 4.1

ScrollEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the Scroll event.

public class ScrollEventArgs : EventArgs

Constructors​

Instance member ScrollEventArgs(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 member ScrollEventArgs(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 member ScrollEventArgs(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 member ScrollEventArgs(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 member ScrollEventArgs(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 member NewValue​

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

Value: The numeric value that the Value property will be changed to.

Instance member OldValue​

Int32: Returns the old Value of the scroll bar.

Value: The numeric value that the Value property contained before it changed.

Instance member ScrollOrientation​

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

Value: One of the ScrollOrientation values.

Instance member Type​

ScrollEventType: Returns the type of scroll event that occurred.

Value: One of the ScrollEventType values.

Used By​

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