Returns the index of the previous visible item.
Deprecated - Provided for compatibility with earlier versions only - Use Items.LastShown and Item.PrevShown instead
| VB.NET | PrevItemIndex = object.GetPrevShown(ByVal ItemIndex As Integer) As Integer |
| VB | PrevItemIndex = object.GetPrevShown(ByVal ItemIndex As Long) As Long |
| C#.NET | int PrevItemIndex = object.GetPrevShown(int ItemIndex); |
| VC++ | long PrevItemIndex = object->GetPrevShown(long ItemIndex); |
| C | HRESULT object->raw_GetPrevShown(long ItemIndex, long* PrevItemIndex); |
object
ItemIndex
The zero-based index whose previous item is to be retrieved. If -1 is specified, the index of the last visible item in the tree control is returned.
PrevItemIndex
Returns the zero-based index of the previous visible item given an item ItemIndex. If -1 is returned, if no item is found.
Deprecated - Provided for compatibility with earlier versions only - Use Items.LastShown and Item.PrevShown instead
The GetPrevShown method returns the index of the previous visible item.
Dependent items of a collapsed parent item are skipped using this method.
Use Items.FirstShown, Item.NextShown, Item.PrevShown, Items.LastShown to retrieve information about item visibility.
See Also SftTree Object | Object Hierarchy