Edit

Share via


ListView.HoverSelection Property

Definition

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

public:
 property bool HoverSelection { bool get(); void set(bool value); };
public bool HoverSelection { get; set; }
member this.HoverSelection : bool with get, set
Public Property HoverSelection As Boolean

Property Value

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

Remarks

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.

Applies to