Gets or sets tooltip message to display it when the cursor is over this cell.
Gets the Cell's tooltip settings.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: (


public string TooltipMessage { get; set; }
Visual Basic
Public Property TooltipMessage As String
Visual C++
property String^ TooltipMessage {
	String^ get ();
	void set (String^ value);
member TooltipMessage : string with get, set

Property Value

Type: String
Tooltip message.

Property Value

Type: String
The tooltips.


Displaying auxiliary information above a grid cell is a typical task. In the .Net Grid this process is considerably simplified. To display a tooltip is is sufficient to set text calling Cell.TooltipMessage = "some text". Color management, display time and tooltip location can be set with Grid.Tooltips property. The programmer can control tooltips via .Net Grid notifications.
 Copy imageCopy
public void ShowTooltip(Grid grid)
    grid.Tooltips.TooltipEnabled = true;                      // enable tooltips
    grid.Rows[4][4].TooltipMessage = "My Custom Message";     // setting tooltip for a specific cell
    grid.Tooltips.TooltipDuration = TimeSpan.FromSeconds(3);  // hiding tooltip after 3 seconds
    grid.Tooltips.IsBalloon = true;                           // balloon-like tooltip style
    grid.Tooltips.CellFrameColor = Color.Orange;              // color of the cell's frame

Thread Safety

The method is thread safe.

See Also