Export (0) Print
Expand All
Expand Minimize

ItemActivation Enumeration

Specifies the user action that is required to activate items in a list view control and the feedback that is given as the user moves the mouse pointer over an item.

[Visual Basic]
<Serializable>
Public Enum ItemActivation
[C#]
[Serializable]
public enum ItemActivation
[C++]
[Serializable]
__value public enum ItemActivation
[JScript]
public
   Serializable
enum ItemActivation

Remarks

Use the members of this enumeration to set the value of the Activation property of the ListView control.

Members

Member name Description
OneClick

Supported by the .NET Compact Framework.

The user must single-click to activate items. The cursor changes to a hand pointer cursor, and the item text changes color as the user moves the mouse pointer over the item.
Standard

Supported by the .NET Compact Framework.

The user must double-click to activate items. No feedback is given as the user moves the mouse pointer over an item.
TwoClick

Supported by the .NET Compact Framework.

The user must double-click to activate items and the item text changes color as the user moves the mouse pointer over the item.

Requirements

Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

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

See Also

System.Windows.Forms Namespace | ListView | Activation

Show:
© 2014 Microsoft