# ListView

Adds supports for \[System.Windows.Forms.ListView]\(<https://msdn.microsoft.com/en-us/library/system.windows.forms.listview(v=vs.110).aspx>)

## Implementation  Details

> **Component Selector:** 'wm-listview'

## Class inheritance

ListViewComponent extends [ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md).

## PME Support

### Properties

| Property                  | Get/Set | Notify Changes | Details                                                                                                                                                                        |
| ------------------------- | ------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| text: string              | Yes     | Yes            | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md) |
| name: string              | Yes     | No             | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md) |
| enabled: boolean          | Yes     | No             | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md) |
| visible: boolean          | Yes     | No             | Inherited from ControlComponent [see ControlComponent](/webmap/general/frontend/documentation/winforms-angular-components/web-components/base-components/control-component.md) |
| disabled: string          | Yes     | No             | Sets property disabled if it is required.                                                                                                                                      |
| view: string              | Yes     | No             | Gets or sets how items are displayed in the control.                                                                                                                           |
| items: any\[]             | Yes     | No             | Gets a collection containing all items in the control.                                                                                                                         |
| FocusedItem: ListViewItem | No      | No             | Triggers a WebApi to the server side in order to set this property on the server side.                                                                                         |
| checkboxes: boolean       | Yes     | No             | Gets or sets when the listview show or hide the checkbox column.                                                                                                               |

### Methods

| Method | Supported | Details |
| ------ | --------- | ------- |
| None   | None      | None    |

### Events

| Event                | Supported       | Parameter                                       | Details                    |
| -------------------- | --------------- | ----------------------------------------------- | -------------------------- |
| ItemClick            | Yes             | Item : ListViewItem                             | Triggers Item Click Event. |
| ItemSelectionChanged | **$event**: any | Trigger when the selection of the  item change. |                            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gapvelocity.ai/webmap/general/frontend/documentation/winforms-angular-components/web-components/kendoui-components/listview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
