FlexGrid for WinForms
ShowScrollTip Event

Fires before the vertical ScrollTip is displayed.
<C1DescriptionAttribute("Fires before the vertical ScrollTip is displayed.")>
Public Event ShowScrollTip As RowColToolTipEventHandler
Dim instance As C1FlexGridBase
Dim handler As RowColToolTipEventHandler
AddHandler instance.ShowScrollTip, handler
[C1Description("Fires before the vertical ScrollTip is displayed.")]
public event RowColToolTipEventHandler ShowScrollTip
[C1Description("Fires before the vertical ScrollTip is displayed.")]
event RowColToolTipEventHandler^ ShowScrollTip

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


C1FlexGridBase Class
C1FlexGridBase Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback