Table of Contents

Method EnsureVisible

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

EnsureVisible(int)

Ensures that the child item of the root item with the specified index is visible within the tree view control.

public virtual bool EnsureVisible(int index)

Parameters

index int

The zero-based index of the item to make visible.

Returns

bool

true if the item was successfully scrolled into view; otherwise, false.

Remarks

This method scrolls the tree view as necessary to bring the specified item into view. If the index is out of range or the item is already visible, no action is taken.