ScrollEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides data for the Scroll event.
- C#
- VB.NET
public class ScrollEventArgs : EventArgs
Public Class ScrollEventArgs
Inherits 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 | WisejEventArgs | 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 | ScrollEventType | One of the ScrollEventType values. |
| newValue | Int32 | 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 | ScrollEventType | One of the ScrollEventType values. |
| newValue | Int32 | The new value for the scroll bar. |
| scroll | ScrollOrientation | 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 | ScrollEventType | One of the ScrollEventType values. |
| oldValue | Int32 | The old value for the scroll bar. |
| newValue | Int32 | 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 | ScrollEventType | One of the ScrollEventType values. |
| oldValue | Int32 | The old value for the scroll bar. |
| newValue | Int32 | The new value for the scroll bar. |
| scroll | ScrollOrientation | 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 |
|---|---|
| ScrollEventHandler | Represents the method that handles the Scroll event of a ScrollableControl, ScrollBar, TrackBar, or DataGridView. |