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

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

  1. Locate the ToolTip control in the Toolbox and add it to the form.
  2. In the Form_Load event, set the UserData property for a cell range that contains a group of non-metallic elements:

    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:

The ToolTip appears within the entire cell range.


See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback