# Blazor ListView Overview

The <a href="https://www.telerik.com/blazor-ui/listview" target="_blank">Blazor ListView component</a> is a fully customizable templated component that repeats your layout for each item in the data source. It lets you page the data, edit items through a dedicated edit template and also add header and footer templates.

## Creating Blazor ListView

1. Add the `TelerikListView` tag to a Razor file.

2. Populate its `Data` property with the collection of items you want the user to see.

3. Define the `Template` to style the items layout.

4. (optional) Define the `HeaderTemplate` to style the list header.

5. (optional) Set the `Pageable` property to enable paging and set dimensions to the component.

> caption ListView in read mode with paging enabled.

<demo metaUrl="client/listview/overview/" height="420"></demo>

## Templates

The ListView allows full control of the item rendering and layout. The component has a header, footer, and template for editing items. [Read more about the Blazor ListView templates](https://www.telerik.com/blazor-ui/documentation/components/listview/templates).

## Editing

The ListView component has functionality to put the items in edit/insert mode, as well as delete items through dedicated command buttons. [Read more about the Blazor ListView editing](https://www.telerik.com/blazor-ui/documentation/components/listview/editing).

## Paging

The ListView supports automatic paging of the provided data, so the user has less scrolling to do. The list also fits better in the layout. [Read more about the Blazor ListView paging](https://www.telerik.com/blazor-ui/documentation/components/listview/paging).

## Refresh Data

The ListView can refresh its data manually so the component can react to changes in the collection. [Read more about the Blazor ListView data refresh](https://www.telerik.com/blazor-ui/documentation/components/listview/refresh-data).

## Events

The ListView provides events related to editing and [loading data on demand](https://www.telerik.com/blazor-ui/documentation/components/listview/manual-operations). [Read more about the Blazor ListView events](https://www.telerik.com/blazor-ui/documentation/components/listview/events).

## ListView Parameters

The table below lists the ListView parameters. For a full list of the ListView API members (parameters, methods, and events), check the [ListView API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.TelerikListView-1).

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter               | Type and Default Value  | Description                                                                                                                                                                                                       |
| ----------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Class`                 | `string`                | The `class` attribute of the `<div class="k-listview">` element. Use it to apply custom styles or [override the theme](https://www.telerik.com/blazor-ui/documentation/styling-and-themes/override-theme-styles). |
| `Data`                  | `IEnumerable<TItem>`    | The ListView component data collection.                                                                                                                                                                           |
| `EnableLoaderContainer` | `bool` <br /> (`true`)  | The ListView loading container that is shown when there are long-running operations.                                                                                                                              |
| `Height`                | `string`                | The `height` style of the component in any [supported CSS unit](https://www.telerik.com/blazor-ui/documentation/common-features/dimensions). The default ListView dimensions depend on the CSS theme.             |
| `Page`                  | `int` <br /> (`1`)      | The current page of the ListView component.                                                                                                                                                                       |
| `Pageable`              | `bool` <br /> (`false`) | Determines if the ListView allows paging.                                                                                                                                                                         |
| `PageSize`              | `int` <br /> (`10`)     | The number of items to display per page in the ListView.                                                                                                                                                          |
| `Width`                 | `string`                | The `width` style of the component in any [supported CSS unit](https://www.telerik.com/blazor-ui/documentation/common-features/dimensions). The default ListView dimensions depend on the CSS theme.              |

## Next Steps

* [Implement ListView Templates](https://www.telerik.com/blazor-ui/documentation/components/listview/templates)

* [Enable ListView Editing](https://www.telerik.com/blazor-ui/documentation/components/listview/editing)

* [Explore the ListView Events](https://www.telerik.com/blazor-ui/documentation/components/listview/events)

## See Also

* [Live ListView Demos](https://demos.telerik.com/blazor-ui/listview/overview)
* [ListView API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.teleriklistview-1)
