• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Scrolling in ASP.NET Core Diagram Control

This example illustrates how to scroll a diagram using vertical and horizontal scrollbars. The scroll limit property helps limit the scrolling area.

DEMO
SOURCE
Properties
Scroll Limit
Scrollable Area
X
Y
Width
Height
Enable AutoScroll
AutoScroll border
Left
Top
Right
Bottom

The scroll limit allows you to define the scrollable region of the Diagram while scrolling the page with a mouse.

The scrollSettings scrollLimit property allows you to define the scrollable region of a Diagram. You may scroll inside the designated region if the scrollLimit is set to limited. When the scrollLimit is set to Diagram, you can scroll within the Diagram content. When the scrollLimit is set to Infinity, it allows infinite scrolling.

The scrollSettings autoScrollBorder property is used to specify the distance from the edge of a control at which auto-scrolling should occur.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab