menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScrollChangedEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScrollChangedEventArgs

    ScrollChangedEventArgs notifies when the scroller has changed

    Inheritance
    System.Object
    ScrollChangedEventArgs
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ScrollChangedEventArgs : Object
    Examples
    <SfDiagramComponent Width = "1000px" Height="1000px" ScrollChanged="ScrollChanged">
    </SfDiagramComponent>
    @code
    {
       private void ScrollChanged(ScrollChangedEventArgs args)
        {
    
        }
    }

    Constructors

    ScrollChangedEventArgs()

    Declaration
    public ScrollChangedEventArgs()

    Properties

    ScrollX

    Gets the value of the horizontal scroll offset. By default, the ScrollX is set to 0.

    Declaration
    public double ScrollX { get; }
    Property Value
    Type Description
    System.Double

    Accepts the double value.

    ScrollY

    Gets the value of the vertical scroll offset. By default, the ScrollY is set to 0.

    Declaration
    public double ScrollY { get; }
    Property Value
    Type Description
    System.Double

    Accepts the double value.

    ZoomFactor

    gets the current close-up view of the diagram. By default, ZoomFactor is set to 1.

    Declaration
    public double ZoomFactor { get; }
    Property Value
    Type Description
    System.Double

    Accepts the double value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved