ListViewItem.ToolTipText Property

 

Gets or sets the text shown when the mouse pointer rests on the ListViewItem.

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 text shown when the mouse pointer rests on the ListViewItem.

If both the ListViewItem and its containing ListView have ToolTips set, only the ToolTip for the ListViewItem will be shown.

The following code example demonstrates how to use the ListView.ShowItemToolTips and ToolTipText properties. To run this example, paste the code into a Windows Form and call InitializeItemsWithToolTips from the form's constructor or Load event-handling method.

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

.NET Framework
Available since 2.0
Return to top
Show: