Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScrollValues - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScrollValues

    Specifies the functionalities of the diagram scroll bar.

    Inheritance
    System.Object
    ScrollValues
    Implements
    System.IEquatable<ScrollValues>
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ScrollValues : Object, IEquatable<ScrollValues>
    Examples
    <SfDiagram>
       <DiagramScrollSettings CurrentZoom = "2" HorizontalOffset="20" VerticalOffset="20" ViewPortHeight="20" ViewPortWidth="20">
       </DiagramScrollSettings>
    </SfDiagram>

    Constructors

    ScrollValues()

    Declaration
    public ScrollValues()

    Properties

    CurrentZoom

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

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

    HorizontalOffset

    Sets the value of the horizontal scroll offset. By default, the HorizontalOffset is set to 0.

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

    VerticalOffset

    Sets the value of the vertical scroll offset. By default, the VerticalOffset is set to 0.

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

    ViewportHeight

    Sets the height of the user-visible area.

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

    ViewportWidth

    Sets the width of the user-visible area.

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

    Methods

    Equals(ScrollValues)

    Indicates whether the ScrollValues object is equal to another object of the same type.

    Declaration
    public bool Equals(ScrollValues scrollValues)
    Parameters
    Type Name Description
    ScrollValues scrollValues

    The diagram scroll bar values.

    Returns
    Type Description
    System.Boolean

    Returns the updated scroller value

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved