Name

ScrollEventArgs

Synopsis

This class encapsulates the data for the ScrollBar.Scroll event. You can determine the NewValue of the scrollbar and the Type of the scroll event (see ScrollEventType for details).


public class ScrollEventArgs : EventArgs {

// Public Constructors

   public ScrollEventArgs(ScrollEventType type, int newValue);

// Public Instance Properties

   public int NewValue{set; get; }

   public ScrollEventType Type{get; }

}

Hierarchy

System.Object System.EventArgs ScrollEventArgs

Passed To

DataGrid.{GridHScrolled(), GridVScrolled()}, ScrollBar.OnScroll(), ScrollEventHandler.{BeginInvoke(), Invoke()}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.