[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.ShowScrollTip

ShowScrollTip Event

Fires before the vertical ScrollTip is displayed.

Namespace: C1.Win.C1FlexGrid
Assembly: C1.Win.C1FlexGrid.4.8.dll
Syntax
public event RowColToolTipEventHandler ShowScrollTip
Returns
Type Description
RowColToolTipEventHandler Fires before the vertical ScrollTip is displayed.
Remarks

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.

Examples

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);
}