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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應