Gets tooltip settings.

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


public Grid..::..GridTooltips Tooltips { get; }
Visual Basic
Public ReadOnly Property Tooltips As Grid..::..GridTooltips
Visual C++
property Grid..::..GridTooltips^ Tooltips {
	Grid..::..GridTooltips^ get ();
member Tooltips : Grid..::..GridTooltips with get

Property Value

Type: Grid..::..GridTooltips
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

See Also