HeaderPane
Main
Hide
Share Link
Print

LastShown Property, SftTreeItems Object

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

Syntax

Get

C#int ItemIndex = object.LastShown;
VB.NETItemIndex = object.LastShown As Integer
C++long ItemIndex = object->LastShown;
long ItemIndex = object->GetLastShown();
CHRESULT object->get_LastShown(long* ItemIndex);
VBItemIndex = object.LastShown As Long

object

A SftTreeItems object.

ItemIndex

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

Comments

The LastShown property returns the index of the last visible item in the tree control.

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

See Also SftTreeItems Object | Object Hierarchy


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