ListView::ShowItemToolTips Property

 

Gets or sets a value indicating whether ToolTips are shown for the ListViewItem objects contained in the ListView.

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

public:
property bool ShowItemToolTips {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if ListViewItem ToolTips should be shown; otherwise, false. The default is true.

If the ShowItemToolTips property is set to true, any ListViewItem that has a ToolTip will display it; otherwise, nothing is displayed.

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

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

.NET Framework
Available since 2.0
Return to top
Show: