Hi, is there a way to allow html in a datagridview cell Tooltip?
Thanks Kirk
Hi Kirk
A scope to my previous answer
If your goal is to put html tooltip for the datagridview cells, unfortunately this feature is not supported.
Datagridview cells are not rendered as widgets but as HTML with a title attribute interpreted by the browser as the tooltip.
Regards
Hi Kirk
It is possible to apply HTML formatting to the text, with certain restrictions
Here are a couple of examples of how you can do it
Column0.ToolTipText = String.Format(“<font face=\”Microsoft Yahei\” color=\”blue\”>{0}</font>”, “Tooltip Text”);
Column1.ToolTipText = “<b> Bold text</b> Normal text<u> Underlined text </u> <i> Italic Text</i>”;
Regards.
Please login first to submit.