Skip to main content

DxTagBox<TData, TValue>.ListRenderMode Property

Enables or disables virtual list rendering mode.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

Declaration

[DefaultValue(ListRenderMode.Entire)]
[Parameter]
public ListRenderMode ListRenderMode { get; set; }

Property Value

Type Default Description
ListRenderMode Entire

A ListRenderMode enumeration value.

Available values:

Name Description
Entire

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

Virtual

The editor renders list items only after they appear in the viewport. This approach improves performance when the list contains many items.

Remarks

Set the ListRenderMode property to ListRenderMode.Virtual to force the TagBox to render list items only after they appear in the viewport.

<DxTagBox Data="@Strings"
          @bind-Values="@Values"
          ListRenderMode="ListRenderMode.Virtual">
</DxTagBox>

Run Demo: TagBox - Virtual Scrolling

See Also