'Declaration
Public Sub ScrollIntoView( _ ByVal item As C1TreeViewItem _ )
public void ScrollIntoView( C1TreeViewItem item )
Parameters
- item
- The Tree View Item on which we need to place focus
'Declaration
Public Sub ScrollIntoView( _ ByVal item As C1TreeViewItem _ )
public void ScrollIntoView( C1TreeViewItem item )
// Assuming 'treeView' is an instance of C1TreeView var itemToScrollTo = FindTreeViewItemById(treeView, itemId); if (itemToScrollTo != null) { treeView.ScrollIntoView(itemToScrollTo); }