menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramScrollSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramScrollSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DiagramScrollSettingsBuilder
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramScrollSettingsBuilder : ControlBuilder

    Constructors

    DiagramScrollSettingsBuilder()

    Declaration
    public DiagramScrollSettingsBuilder()

    DiagramScrollSettingsBuilder(DiagramScrollSettings)

    Declaration
    public DiagramScrollSettingsBuilder(DiagramScrollSettings model)
    Parameters
    Type Name Description
    DiagramScrollSettings model

    Methods

    AutoScrollBorder(DiagramMargin)

    Defines the maximum distance to be left between the object and the scroll bar to trigger auto scrolling

    Declaration
    public DiagramScrollSettingsBuilder AutoScrollBorder(DiagramMargin value)
    Parameters
    Type Name Description
    DiagramMargin value
    Returns
    Type
    DiagramScrollSettingsBuilder

    AutoScrollBorder(Action<DiagramMarginBuilder>)

    Declaration
    public DiagramScrollSettingsBuilder AutoScrollBorder(Action<DiagramMarginBuilder> autoScrollBorder)
    Parameters
    Type Name Description
    System.Action<DiagramMarginBuilder> autoScrollBorder
    Returns
    Type
    DiagramScrollSettingsBuilder

    AutoScrollFrequency(Double)

    Specifies the interval (in milliseconds) between scroll triggers.

    Declaration
    public DiagramScrollSettingsBuilder AutoScrollFrequency(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    CanAutoScroll(Boolean)

    Enables or Disables the auto scroll option

    Declaration
    public DiagramScrollSettingsBuilder CanAutoScroll(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    DiagramScrollSettingsBuilder

    CurrentZoom(Double)

    Defines the currentZoom value of diagram

    Declaration
    public DiagramScrollSettingsBuilder CurrentZoom(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    HorizontalOffset(Double)

    Defines horizontal offset of the scroller

    Declaration
    public DiagramScrollSettingsBuilder HorizontalOffset(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    MaxZoom(Double)

    Defines the maximum zoom value of the scroller

    Declaration
    public DiagramScrollSettingsBuilder MaxZoom(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    MinZoom(Double)

    Defines the minimum zoom value of the diagram

    Declaration
    public DiagramScrollSettingsBuilder MinZoom(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    Padding(DiagramMargin)

    Defines the maximum distance to be left between the object and the edge of the page.

    Declaration
    public DiagramScrollSettingsBuilder Padding(DiagramMargin value)
    Parameters
    Type Name Description
    DiagramMargin value
    Returns
    Type
    DiagramScrollSettingsBuilder

    Padding(Action<DiagramMarginBuilder>)

    Declaration
    public DiagramScrollSettingsBuilder Padding(Action<DiagramMarginBuilder> padding)
    Parameters
    Type Name Description
    System.Action<DiagramMarginBuilder> padding
    Returns
    Type
    DiagramScrollSettingsBuilder

    ScrollableArea(Object)

    Defines the scrollable area of diagram. Applicable, if the scroll limit is “limited”.

    Declaration
    public DiagramScrollSettingsBuilder ScrollableArea(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramScrollSettingsBuilder

    ScrollLimit(ScrollLimit)

    Defines the scrollable region of diagram. Diagram - Enables scrolling to view the diagram content Infinity - Diagram will be extended, when we try to scroll the diagram

    Declaration
    public DiagramScrollSettingsBuilder ScrollLimit(ScrollLimit value)
    Parameters
    Type Name Description
    ScrollLimit value
    Returns
    Type
    DiagramScrollSettingsBuilder

    VerticalOffset(Double)

    Defines vertical offset of the scroller

    Declaration
    public DiagramScrollSettingsBuilder VerticalOffset(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    ViewPortHeight(Double)

    Allows to read the viewport height of the diagram

    Declaration
    public DiagramScrollSettingsBuilder ViewPortHeight(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    ViewPortWidth(Double)

    Allows to read the viewport width of the diagram

    Declaration
    public DiagramScrollSettingsBuilder ViewPortWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder

    ZoomFactor(Double)

    Specifies the percentage of scale value for each ZoomIn or ZoomOut functionality.

    Declaration
    public DiagramScrollSettingsBuilder ZoomFactor(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramScrollSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved