DxDropDownListEditorBase<TData, TValue>.ListRenderMode Property
Enables or disables virtual list rendering mode.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
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 an editor to render list items only after they appear in the viewport.
<DxComboBox Data="@Data"
@bind-Value="@Value"
ListRenderMode="ListRenderMode.Virtual">
</DxComboBox>
<DxTagBox Data="@Strings"
@bind-Values="@Values"
ListRenderMode="ListRenderMode.Virtual">
</DxTagBox>
Implements
DevExpress.Blazor.IListEditorBase<TData, TValue>.ListRenderMode
See Also