ListView::HoverSelection Property

 

Gets or sets a value indicating whether an item is automatically selected when the mouse pointer remains over the item for a few seconds.

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

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

Property Value

Type: System::Boolean

true if an item is automatically selected when the mouse pointer hovers over it; otherwise, false. The default is false.

When this property is set to true, the user can point to an item in the ListView control to select the item. Multiple items can be selected (when the MultiSelect property is set to true) by holding down the CTRL key while pointing to each item. You can use this feature to provide an easier method for the user of your application to select items in the ListView control.

.NET Framework
Available since 1.1
Return to top
Show: