Assume you have a diagram view that can be realized in a diagram without the use of a horizontal scroll bar.
Then select a Node. If this operation repositions (shifts) the view in a manner where some of the nodes are now out of the diagram viewport, no horizontal scroll bar is displayed.
In another example. Assume you have a diagram view that can be realized in a diagram with the use of a horizontal scroll bar.
Then select a Node. This operation will shift the view, but it doesn’t appear that the horizontal scrollbar is behaving properly. (click the line down or line up repeat button will cause the view to “jump”)
I have also noticed that sometimes it will not complete the “center” operation, it starts to scroll it to view, and then will stop.
I think i remember reading somewhere that you are still working out some issues with this property, but i figured I would post my findings just in case.
setting myDiagram.Panel.ZoomTime to zero seems to fix the center operation. At least, in the 5 minutes of testing, it would always center the newly selected node.
I haven’t modified HorizontalContentAlignment, VerticalContentAlignment values from their default, but here they are :
(from snoop)
Northwoods.GoXam.Diagram.HorizontalContentAlignment = left
Northwoods.GoXam.Diagram.VerticalContentAlignment = top