ListViewVirtualItemsSelectionRangeChangedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ListViewVirtualItemsSelectionRangeChangedEventArgs class.
public:
ListViewVirtualItemsSelectionRangeChangedEventArgs(int startIndex, int endIndex, bool isSelected);
public ListViewVirtualItemsSelectionRangeChangedEventArgs (int startIndex, int endIndex, bool isSelected);
new System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventArgs : int * int * bool -> System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventArgs
Public Sub New (startIndex As Integer, endIndex As Integer, isSelected As Boolean)
Parameters
- startIndex
- Int32
The index of the first item in the range that has changed.
- endIndex
- Int32
The index of the last item in the range that has changed.
- isSelected
- Boolean
true
to indicate the items are selected; false
to indicate the items are deselected.
Exceptions
startIndex
is larger than endIndex
.
Remarks
The ListViewVirtualItemsSelectionRangeChangedEventArgs occurs when items are changed from selected to deselected, and deselected to selected. The isSelected
parameter indicates the current state of the range of items.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈