Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

FromVisibleIndex Method, SftTree Class

Returns the item given an index of visible items.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public ItemClass FromVisibleIndex( int VisItemIndex );
Public Function FromVisibleIndex( ByVal VisItemIndex As Integer ) As ItemClass

Parameters

VisItemIndex

Index of the item in the range 0 .. VisibleItems-1.

Return Value

The item.

Comments

Returns the item given an index of visible items.

This is normally only used internally by the control to translate a visibility index in the range 0..SftTree.VisibleItems-1 to an item. This is usually associated with scrolling operations. Scroll bar ranges are based on visible items only.

See Also SftTree Class | Classes | SftTree/NET 2.0