DxListBox<TData, TValue>.ListRenderMode Property

Enables or disables virtual list rendering mode.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public ListRenderMode ListRenderMode { get; set; }

Property Value

Type Description
ListRenderMode

A ListRenderMode enumeration value.

Available values:

Name Description
Entire

The editor loads the entire item list. Use this option for small item lists where scrolling should be instant.

Virtual

The editor loads visible items only. This approach improves performance when the list contains many items.

Remarks

Set the ListRenderMode property to ListRenderMode.Virtual to force the List Box to load visible items only.

<DxListBox Data="@Data"
           TData="Country"
           TValue="Country"
           ListRenderMode="ListRenderMode.Virtual">
</DxListBox>

@code {
    IEnumerable<string> Data;
}

Run Demo: List Box - Virtual Scrolling

See Also