[]
Fires before the vertical ScrollTip is displayed.
public event RowColToolTipEventHandler ShowScrollTip
Type | Description |
---|---|
RowColToolTipEventHandler | Fires before the vertical ScrollTip is displayed. |
This event fires only if the ShowScrollTips flag is set in the ScrollOptions property.
It allows you to specify the text that will be displayed in the scroll tip.
The code below uses the ShowScrollTip event to display a scroll tip showing the value of the first cell that will become visible when the user stops scrolling.
_flex.ScrollOptions = ScrollFlags.DelayedScroll | ScrollFlags.ShowScrollTips;
void _flex_ShowScrollTip(object sender, ToolTipEventArgs e)
{
e.ToolTipText = string.Format("row {0}", e.Row);
}