Table of Contents

Method EnsureVisible

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

EnsureVisible()

Ensures that the tree item is visible, expanding tree items and scrolling the tree view control as necessary.

public void EnsureVisible()

Remarks

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