Class ScrollLimit
Defines the scrollable region of the diagram.
Inheritance
System.Object
ScrollLimit
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ScrollLimit : Enum
Remarks
To know more about using the scroll limit, refer to these links |
1. ScrollSettings |
To apply the infinity scroll limit, use the below code. |
Examples
<SfDiagram Height="600px">
@* Sets the ScrollLimit of scroll settings*@
<DiagramScrollSettings HorizontalOffset = "100" VerticalOffset="50" ScrollLimit="ScrollLimit.Infinity">
</DiagramScrollSettings>
</SfDiagram>
Fields
Diagram
Enables scrolling to view the diagram content.
Declaration
public const ScrollLimit Diagram
Field Value
Type | Description |
---|---|
ScrollLimit |
Infinity
Diagram will be extended, when we try to scroll the diagram.
Declaration
public const ScrollLimit Infinity
Field Value
Type | Description |
---|---|
ScrollLimit |
Limited
Enables scrolling to view the specified area.
Declaration
public const ScrollLimit Limited
Field Value
Type | Description |
---|---|
ScrollLimit |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |