ItemActivation 枚举

定义

指定激活列表视图控件中的项所需的用户操作,以及在用户将鼠标指针移动到项上时提供的反馈。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.

public enum class ItemActivation
public enum ItemActivation
type ItemActivation = 
Public Enum ItemActivation
继承
ItemActivation

字段

OneClick 1

用户必须单击以激活项。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 0

用户必须双击以激活项。The user must double-click to activate items. 在用户将鼠标指针移动到项上时没有提供任何反馈。No feedback is given as the user moves the mouse pointer over an item.

TwoClick 2

用户必须单击项两次以激活此项。The user must click an item twice to activate it. 单击两次与标准的双击不同,这是因为两次单击之间的时间间隔可以是任意的。This is different from the standard double-click because the two clicks can have any duration between them. 当用户将鼠标指针移动到项上时,该项文本更改颜色。The item text changes color as the user moves the mouse pointer over the item.

注解

使用此枚举的成员设置Activation ListView控件的属性的值。Use the members of this enumeration to set the value of the Activation property of the ListView control.

适用于

另请参阅