How to Scroll A Node Into View
1 Oct 2018 / 1 minute to read
This section illustrates how a particular node can be scrolled into view if it is hidden because its parent is hidden or because the scrollbar has scrolled it out of view.
Methods Table
TreeViewAdv Methods | Description |
---|---|
BringIntoView | To bring a node into view by expanding its parents and also bringing it into the viewable area if scrolled, use the TreeNodeAdv.BringIntoView method. |
EnsureVisible | To bring an already visible node into the viewable area when scrolled, use the TreeViewAdv.EnsureVisible method. |
EnsureVisible | To bring an already visible node into viewable area when scrolled, and also make it the top-most visible node, use this overload of the TreeViewAdv.EnsureVisible method. |
treeNodeAdv.BringIntoView();
this.treeViewAdv1.EnsureVisible(treeNodeAdv);
this.treeViewAdv1.EnsureVisible(treeNodeAdv, true);
treeNodeAdv.BringIntoView()
Me.TreeViewAdv1.EnsureVisible(treeNodeAdv)
Me.TreeViewAdv1.EnsureVisible(treeNodeAdv, True)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page