HeaderPane
Main
Hide
Share Link
Print

FirstShown Property, SftTreeItems Object

Returns the index of the first visible item in the tree control.

Syntax

Get

C#int ItemIndex = object.FirstShown;
VB.NETItemIndex = object.FirstShown As Integer
C++long ItemIndex = object->FirstShown;
long ItemIndex = object->GetFirstShown();
CHRESULT object->get_FirstShown(long* ItemIndex);
VBItemIndex = object.FirstShown As Long

object

A SftTreeItems object.

ItemIndex

Returns the index of the first visible item in the tree control. -1 is returned, if no item is found.

Comments

The FirstShown property returns the index of the first visible item in the tree control.

Use Item.NextShown, Item.PrevShown, Items.LastShown to retrieve information about item visibility.

See Also SftTreeItems Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.