DataGridViewCellToolTipTextNeededEventArgs::ToolTipText Property

 

Gets or sets the ToolTip text.

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

public:
property String^ ToolTipText {
	String^ get();
	void set(String^ value);
}

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
Show: