dbicExplorerBar Send comments on this topic.
ItemIndex Property
See Also 
dbicExplorerBar Assembly > Dbi.WinControl.ExplorerBar Namespace > ItemOverEventArgs Class : ItemIndex Property

Returns the current ListItem under the mouse pointer.

Syntax

Visual Basic (Declaration) 
Public Property ItemIndex As Integer
C# 
public int ItemIndex {get; set;}

Property Value

Integer

Remarks

The e.ItemIndex will return a -1 if the mouse is over the control but not an item in the control, otherwise it will return the 0-based index of the item. Also note that the HighlightType Property will affect where the e.ItemIndex will return a -1. If the HighlightType is Text then the e.ItemIndex will be -1 if the mouse isn't over the text portion of the item.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also