ScrollEventArgs

Wisej.Web.ScrollEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.1.0.0)

Provides data for the Scroll event.

public class ScrollEventArgs : EventArgs

Constructors

ScrollEventArgs(args)

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

Name
Type
Description

args

The arguments received from the client.

ScrollEventArgs(type, newValue)

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

Name
Type
Description

type

One of the ScrollEventType values.

newValue

The new value for the scroll bar.

ScrollEventArgs(type, newValue, scroll)

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

Name
Type
Description

type

One of the ScrollEventType values.

newValue

The new value for the scroll bar.

scroll

One of the ScrollOrientation values.

ScrollEventArgs(type, oldValue, newValue)

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

Name
Type
Description

type

One of the ScrollEventType values.

oldValue

The old value for the scroll bar.

newValue

The new value for the scroll bar.

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.

Name
Type
Description

type

One of the ScrollEventType values.

oldValue

The old value for the scroll bar.

newValue

The new value for the scroll bar.

scroll

One of the ScrollOrientation values.

Properties

NewValue

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

OldValue

Int32: Returns the old Value of the scroll bar.

ScrollOrientation

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

Type

ScrollEventType: Returns the type of scroll event that occurred.

Used By

Name
Description

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

Last updated