Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1925
Scroll bars when node is moved away
posted

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?

Parents
No Data
Reply
  • 29045
    Offline posted

    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 1
    3. 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.

Children