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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om