How to Scroll A Node Into View
1 Oct 20181 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)