MobileForms Toolkit Documentation

AdvancedTree.EnsureVisible Method (NodeCollection, Int32, Boolean)

Scrolls the control to ensure that chosen node is visible and returns the Node vertical offset.

public int EnsureVisible(
NodeCollection coll,
int ix,
bool bTop
);

Parameters

coll
Node collection which contain node.
ix
Index of the Node to display.
bTop
true, if the node should be positioned as the first node

Return Value

Offset of the node from the top of the control.

Remarks

This method will scroll the control so the node with the desired index is diplayed on the screen, preferably as the first displayed node.

See Also

AdvancedTree Class | Resco.Controls.AdvancedTree Namespace | AdvancedTree.EnsureVisible Overload List