Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Enable autoscroll behavior in diagrams

$
0
0

Hi,

When making a large diagram it's nice to have the RadDiagram scroll along when you drag a shape or a connector.
I'm not really sure what the best approach is here though, I know how to implement it with a regular ScrollView but this is slightly different.

I found some information here: here and here regarding autoscrolling but when I apply it to a diagram like this:

<telerik:RadDiagramGrid.Column="1"Grid.Row="1"x:Name="diagram"
                            ScrollViewer.HorizontalScrollBarVisibility="Visible"
                            ScrollViewer.VerticalScrollBarVisibility="Visible"
                            RouteConnections="True"
                            ConnectionRoundedCorners="True"
                            telerik:ScrollingSettingsBehavior.IsEnabled="True"/>

The following error appears in VS:
Error Value cannot be null.
Parameter name: scrollingService

Can autoscroll be enabled for RadDiagrams? Or am I doing something wrong here.

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>