ComponentOne TreeView for WinForms
ScrollToNode Method

C1.Win.TreeView Namespace > C1TreeView Class : ScrollToNode Method
The node to scroll to.
Specifies whether the node should be scrolled to the top-most position.
All ancestors of the specified node should be expanded.
Scrolls the C1TreeView to a specific node.
Syntax
'Declaration
 
Public Sub ScrollToNode( _
   ByVal node As C1TreeNode, _
   Optional ByVal top As Boolean, _
   Optional ByVal expand As Boolean _
) 
public void ScrollToNode( 
   C1TreeNode node,
   bool top,
   bool expand
)

Parameters

node
The node to scroll to.
top
Specifies whether the node should be scrolled to the top-most position.
expand
All ancestors of the specified node should be expanded.
See Also

Reference

C1TreeView Class
C1TreeView Members