Method ShowOverlayToolTipForItem
ShowOverlayToolTipForItem(int?, HorizontalAlignment)
Displays an overlay tooltip for the specified item if the item is eligible for tooltip display.
protected virtual bool ShowOverlayToolTipForItem(int? itemIndex, HorizontalAlignment horzAlignment = HorizontalAlignment.Left)
Parameters
itemIndexint?The zero-based index of the item for which to show the overlay tooltip, or null to indicate no item.
horzAlignmentHorizontalAlignmentThe horizontal alignment for the tooltip relative to the container.
Returns
- bool
true if the overlay tooltip was shown for the specified item; otherwise, false.
Remarks
The method does not display a tooltip if the item index is null, the item text is empty, the item rectangle cannot be determined, or the item is fully visible without horizontal scrolling. Override this method to customize tooltip display behavior for items.