# ListViewVirtualItemsSelectionRangeChangedEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Provides data for the [VirtualItemsSelectionRangeChanged](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#virtualitemsselectionrangechanged) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class ListViewVirtualItemsSelectionRangeChangedEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class ListViewVirtualItemsSelectionRangeChangedEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ListViewVirtualItemsSelectionRangeChangedEventArgs(startIndex, endIndex, isSelected)

Initializes a new instance of the [ListViewVirtualItemsSelectionRangeChangedEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewvirtualitemsselectionrangechangedeventargs) class.

| Name           | Type                                                            | Description                                                                          |
| -------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| **startIndex** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)     | The index of the first item in the range that has changed.                           |
| **endIndex**   | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)     | The index of the last item in the range that has changed.                            |
| **isSelected** | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) | true to indicate the items are selected; false to indicate the items are deselected. |

**Throws:**

* [ArgumentException](https://docs.microsoft.com/dotnet/api/system.argumentexception) *startIndex* is larger than *endIndex..*

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) EndIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the index for the last item in the range of items whose selection state has changed.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) IsSelected

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns a value indicating whether the range of items is selected.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) StartIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the index for the first item in the range of items whose selection state has changed.

## Used By

| Name                                                                                                                                                                                   | Description                                                                                                                                                                                                                                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [ListViewVirtualItemsSelectionRangeChangedEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewvirtualitemsselectionrangechangedeventhandler) | Represents the method that will handle the [VirtualItemsSelectionRangeChanged](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#virtualitemsselectionrangechanged) event of a [ListView](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview). |
