WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScrollWindowEventArgs

    Show / Hide Table of Contents

    Class ScrollWindowEventArgs

    Provides the data for the and events.

    Inheritance
    System.Object
    System.EventArgs
    ScrollWindowEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Drawing.Rectangle

    Rect

    Gets the bounds of the rectangle that is scrolled.

    Declaration
    public Rectangle Rect { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    UpdateRect

    Gets the rectangle that need to be updated.

    Declaration
    public Rectangle UpdateRect { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    XAmount

    Gets the horizontal scroll distance in pixels.

    Declaration
    public int XAmount { get; }
    Property Value
    Type Description
    System.Int32

    YAmount

    Gets the vertical scroll distance in pixels.

    Declaration
    public int YAmount { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved