Posts by Paul

0 votes

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

  • Paul answered Aug 27, 2019 - 10:40 pm
0 votes

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.

  • Paul answered Aug 26, 2019 - 10:23 pm
Showing 261 - 262 of 262 results