Based on this How to: Add ToolTips to Individual Cells in a Windows Forms DataGridView Control - I implemented a specific ToolTip for a single cell in my DataGridView.
void init() {
dgv.CellFormatting += CellToolTip;
}
void CellToolTip(object sender, DataGridViewCellFormattingEventArgs e) {
if ((e.ColumnIndex == dgv.Columns["xxx"].Index) && e.Value != null)
{
[...]
DataGridViewCell cell = dgv.Rows[e.RowIndex].Cells[e.ColumnIndex];
cell.ToolTipText = "test";
}
}
Is it possible to modify the duration to show my ToolTip longer or do I have to create ToolTip object and use properties like ToolTip.AutomaticDelay etc. ?