Articles in this section
Category / Section

How to do Panning in all the directions at a time?

1 min read

Constraints decide whether to do Panning in all the directions or in a particular direction in the SfDiagram. The following code example explains how to do Panning in all the directions.

C#

DiagramControl.Constraints = DiagramControl.Constraints &~ GraphConstraints.PanRails;
//Here, DiagramControl is the instance of SfDiagram

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment