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