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
130
XamDataTree calling ScrollNodeIntoView on a node that is already in the view
posted

Hi guys,

While using a XamDataTree and trying to programmatically enter edit mode for a given node, I am running into the following issue:

If I call EnterEditMode or ScrollNodeIntoView for a XamDataTreeNode that is already visible in the tree, it will automatically scroll that node to either the top or the bottom of the view. This seems to be the desired behavior for nodes that were not previously in the view, but I feel like if a node is already in the view, then the tree should just keep its scroll position and not jump around.

Is there any way I can override this behavior and prevent the tree from scrolling a node into the view when it's already visible?

Thanks,

Andrew