I have XamDiagram in a Grid and when user moves a node in the diagram which is not visible, I cant see scroll bars appearing. Is this expected behavior? How can we force XamDiagram to show scroll bars in such cases?
Hello Abs,
Thank you for contacting Infragistics. The XamDiagram doesn't expose scrollbars when nodes, connections etc. are out of view. However there are a few ways around this.
1. Increase the XamDiagram's WindowRect property (eg. WindowRect="0,0,500,300") to a larger height and width 2. Set the ZoomLevel property between 0.1 and 13. Peform the ScaleToFit method.
Please visit Configuring the Visible Portion of the Diagram (xamDiagram) topic in our online help for more details.
Let me know if you have any questions regarding this matter.
I could not achieve this behavior with few options you specified, it would be helpful if you have a sample to illustrate?