_ScrollEventArgs Type

Provides data for the OnScroll event.

Namespace: CNClrLib.Control.EventArgs
type
 _ScrollEventArgs = CNClrLib.Windows._ScrollEventArgs;

The OnScroll event occurs when the user changes the value of the scroll bar. This event can result from a variety of actions, such as clicking a scroll bar arrow, pressing the UP ARROW or DOWN ARROW, or dragging the scroll box. The ScrollEventArgs specifies the type of scroll event that occurred and the new value of the scroll bar. Use the ScrollOrientation property to determine the scroll bar orientation for the Scroll event.

The Scroll event occurs for the TCnDataGridView, TCnScrollableControl, TCnScrollBar (Future Release), and TCnDataGrid(Future Release) controls.

For more information, see ScrollEventArgs in C#.

Properties
Description

NewValue

Gets or sets the new Value of the scroll bar.

OldValue

Gets the old Value of the scroll bar.

ScrollOrientation

Gets the scroll bar orientation that raised the Scroll event.

Type

Gets the type of scroll event that occurred.