Method EnsureVisible
EnsureVisible(TreeViewItem)
Ensures that the specified TreeViewItem is visible within the tree view.
void EnsureVisible(TreeViewItem item)
Parameters
itemTreeViewItemThe TreeViewItem to make visible. Must not be null.
Remarks
If the specified item is not currently visible, this method scrolls the tree view as needed to bring the item into view.