Class ScrollWindowEventArgs
Provides the data for the
Inheritance
System.Object
System.EventArgs
ScrollWindowEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.Controls.Events
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public sealed class ScrollWindowEventArgs : EventArgs
Constructors
ScrollWindowEventArgs(Int32, Int32, Rectangle, Rectangle, Rectangle)
Initializes a new instance of the ScrollWindowEventArgs class.
Declaration
public ScrollWindowEventArgs(int xAmount, int yAmount, Rectangle rect, Rectangle clipRect, Rectangle updateRect)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xAmount | The horizontal scroll distance in pixel. |
System.Int32 | yAmount | The vertical scroll distance in pixel. |
System.Drawing.Rectangle | rect | The bounds of the rectangle that is scrolled. |
System.Drawing.Rectangle | clipRect | Clipping rectangle. |
System.Drawing.Rectangle | updateRect | The rectangle that was scrolled into view. |
Properties
ClipRect
Gets the clipped rectangle.
Declaration
public Rectangle ClipRect { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Rect
Gets the bounds of the rectangle that is scrolled.
Declaration
public Rectangle Rect { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
UpdateRect
Gets the rectangle that need to be updated.
Declaration
public Rectangle UpdateRect { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
XAmount
Gets the horizontal scroll distance in pixels.
Declaration
public int XAmount { get; }
Property Value
Type |
---|
System.Int32 |
YAmount
Gets the vertical scroll distance in pixels.
Declaration
public int YAmount { get; }
Property Value
Type |
---|
System.Int32 |