FlexGrid for WinForms
UserData ToolTips for a Single Cell
Show AllShow All
Hide AllHide All

To add ToolTips that display UserData for a single cell, use C1FlexGrid's MouseMove event to get the UserData and display it in a ToolTip control.

  1. Locate the ToolTip control in the Toolbox and add it to the form.
  2. Add the following SetUserData method to the Form_Load event:

    To write code in Visual Basic

    To write code in C#

  3. Add the following MouseMove event:

    To write code in Visual Basic

    To write code in C#

This topic illustrates the following:

When the mouse moves over the first row in the Element column, the information about Hydrogen appears.


See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback