Tooltips

Demonstrates a very nice and useful feature of .Net Grid – pop-up tooltips. Pop-up tips can be shown in a standard rectangular box or in a balloon window. .Net grid provides a very simple API for implementing this ability:

grid.Tooltips.TooltipEnabled = true; // enable tooltips 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 Cell cell = grid.Rows[4][4]; cell.TooltipMessage = "My Custom Message"; // setting tooltip for a specific cell