Class ScrollableArea
Defines a scrollable area bounds within the diagram.
Inherited Members
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.JavaScript.DataVisualization.Models.Diagram
Assembly: Syncfusion.EJ.dll
Syntax
public class ScrollableArea : EJTagHelper
Constructors
ScrollableArea()
Initializes a new instance of the ScrollableArea class.
Declaration
public ScrollableArea()
ScrollableArea(Double, Double, Double, Double)
Initializes a new instance of the ScrollableArea class.
Declaration
public ScrollableArea(double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | |
System.Double | y | |
System.Double | width | |
System.Double | height |
Properties
Height
Gets or sets the height of the scrollable region from start point
Declaration
[JsonProperty("height")]
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | PositiveInfinity |
Examples
DiagramProperties Model = new DiagramProperties();
Model.PageSettings.ScrollableArea.Height = 1000;
ViewData["diagramModel"] = Model;
Width
Gets or sets the width of the scrollable region from start point
Declaration
[JsonProperty("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | PositiveInfinity |
Examples
DiagramProperties Model = new DiagramProperties();
Model.PageSettings.ScrollableArea.Width = 1000;
ViewData["diagramModel"] = Model;
X
Gets or sets the start point of the scrollable region on x direction
Declaration
[JsonProperty("x")]
public double X { get; set; }
Property Value
Type | Description |
---|---|
System.Double | PositiveInfinity |
Examples
DiagramProperties Model = new DiagramProperties();
Model.PageSettings.ScrollableArea.X = 0;
ViewData["diagramModel"] = Model;
Y
Gets or sets the start point of the scrollable region on y direction
Declaration
[JsonProperty("y")]
public double Y { get; set; }
Property Value
Type | Description |
---|---|
System.Double | PositiveInfinity |
Examples
DiagramProperties Model = new DiagramProperties();
Model.PageSettings.ScrollableArea.Y = 0;
ViewData["diagramModel"] = Model;