Skip to content

EnsureVisible Method

Description

Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

Syntax

Public Sub EnsureVisible()

Remarks

When the EnsureVisible method is called, the tree is expanded and scrolled to ensure that the current tree node is visible in the TreeView. This method is useful if you are selecting a tree node in code based on certain criteria. By calling this method after selecting the node, it ensures that the user can see and interact with the selected node.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.