DataGridViewCellToolTipTextNeededEventArgs.ToolTipText Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the ToolTip text.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member ToolTipText : string with get, set

Property Value

Type: System.String

The current ToolTip text.

This property initially contains the value of the DataGridViewCell.ToolTipText property if it has been set for a cell.

The following code example sets the ToolTipText property depending on which cell the cursor is over. In this example, the ToolTipText is filled with information from hidden columns in the DataGridView.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top