menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramScrollSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramScrollSettings
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramScrollSettings : EJTagHelper

    Constructors

    DiagramScrollSettings()

    Declaration
    public DiagramScrollSettings()

    Properties

    AutoScrollBorder

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

    Declaration
    public DiagramMargin AutoScrollBorder { get; set; }
    Property Value
    Type Description
    DiagramMargin

    The default value is null

    AutoScrollFrequency

    Specifies the interval (in milliseconds) between scroll triggers.

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

    The default value is 100

    CanAutoScroll

    Enables or Disables the auto scroll option

    Declaration
    public bool CanAutoScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    CurrentZoom

    Defines the currentZoom value of diagram

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

    The default value is 1

    HorizontalOffset

    Defines horizontal offset of the scroller

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

    The default value is 0

    MaxZoom

    Defines the maximum zoom value of the scroller

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

    The default value is 30

    MinZoom

    Defines the minimum zoom value of the diagram

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

    The default value is 0.2

    Padding

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

    Declaration
    public DiagramMargin Padding { get; set; }
    Property Value
    Type Description
    DiagramMargin

    The default value is null

    ScrollableArea

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

    Declaration
    public object ScrollableArea { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    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 ScrollLimit ScrollLimit { get; set; }
    Property Value
    Type Description
    ScrollLimit

    The default value is ScrollLimit.Diagram

    VerticalOffset

    Defines vertical offset of the scroller

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

    The default value is 0

    ViewPortHeight

    Allows to read the viewport height of the diagram

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

    The default value is 0

    ViewPortWidth

    Allows to read the viewport width of the diagram

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

    The default value is 0

    ZoomFactor

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

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

    The default value is 0.2

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