HeaderPane
Main
Hide
Share Link
Print

VirtualItemChanged Method, SftTree Object

Notifies the control that one or all items of the virtual data source have changed.

Syntax

C#void object.VirtualItemChanged(int ItemIndex);
VB.NETobject.VirtualItemChanged(ByVal ItemIndex As Integer)
C++HRESULT object->VirtualItemChanged(long ItemIndex);
CHRESULT object->raw_VirtualItemChanged(long ItemIndex);
VBobject.VirtualItemChanged(ByVal ItemIndex As Long)

object

A SftTree object.

ItemIndex

The zero-based index of the item which has been modified in the virtual data source. If -1 is used, all items in the virtual data source are considered altered.

Comments

The VirtualItemChanged method notifies the control that one or all items of the virtual data source have changed.

By notifying the tree control that items in the virtual data source have changed, the items in the tree control can be repainted if needed, reflecting their new attributes.

If the tree control is not a virtual tree control (items have been added using Items.Add or Items.Insert), this method will fail.

See Also SftTree Object | Object Hierarchy


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