Back to Devexpress

ListRenderMode Enum

blazor-devexpress-dot-blazor-06acd5a1.md

latest1.7 KB
Original Source

ListRenderMode Enum

Lists values that specify how list-based editors render their item lists.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum ListRenderMode

Members

NameDescription
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.

|

The following properties accept/return ListRenderMode values:

Remarks

razor
<DxListBox Data="@Data"
           ListRenderMode="ListRenderMode.Virtual">
</DxListBox>

@code {
    IEnumerable<string> Data;
}

Run Demo: List Box - Virtual Scrolling

Run Demo: ComboBox - Virtual Scrolling

Run Demo: TagBox - Virtual Scrolling

See Also

DevExpress.Blazor Namespace