ComponentOne FlexGrid for WinForms
ToolTipEventArgs Class
Members  Example 

C1.Win.C1FlexGrid Namespace : ToolTipEventArgs Class
Provides data for the C1FlexGridBase.ShowScrollTip event.
Syntax
'Declaration
 
Public Class ToolTipEventArgs 
   Inherits RowColEventArgs
public class ToolTipEventArgs : RowColEventArgs 
Remarks
Example
private void Form1_Load(object sender, EventArgs e)
{
            _flex = new C1FlexGrid();
            _flex.Dock = DockStyle.Fill;
            this.Controls.Add(_flex);
            OleDbConnection con = new OleDbConnection(""provider=microsoft.jet.oledb.4.0;Data Source="" + Environment.GetFolderPath(Environment.SpecialFolder.Personal) + ""\\ComponentOne Samples\\Common\\C1NWind.mdb"");
            DataTable productsTable = new DataTable();
            new OleDbDataAdapter(""Select * from Products"", con).Fill(productsTable);
            _flex.DataSource = productsTable;

            _flex.ScrollOptions = ScrollFlags.ShowScrollTips;
            _flex.ShowScrollTip += _flex_ShowScrollTip;
}

//display a scroll tip showing the value of the first cell that will become visible when the user stops scrolling.
private void _flex_ShowScrollTip(object sender, ToolTipEventArgs e)
{
           e.ToolTipText = string.Format(""row {0}"", e.Row);
}
Inheritance Hierarchy

System.Object
   System.EventArgs
      C1.Win.C1FlexGrid.RowColEventArgs
         C1.Win.C1FlexGrid.ToolTipEventArgs

See Also

Reference

ToolTipEventArgs Members
C1.Win.C1FlexGrid Namespace