Table of Contents

Class ListScreenBase<TModel>

Namespace
Dynamicweb.CoreUI.Screens
Assembly
Dynamicweb.CoreUI.dll

Simplified base class for list screens where the screen model is the standard DataListViewModel<T>. Subclass this when you do not need a custom screen-level view model — the most common case for third-party list screens.

public abstract class ListScreenBase<TModel> : ListScreenBase<DataListViewModel<TModel>, TModel> where TModel : DataViewModelBase

Type Parameters

TModel

The per-row view model type. Must derive from DataViewModelBase.

Inheritance
ListScreenBase<TModel>
Inherited Members

Methods

GetListData()

Returns the view model containing the list rows that will be rendered. Called once per render after OnBuildListScreen(). Return null to render an empty list.

protected override DataListViewModel<TModel>? GetListData()

Returns

DataListViewModel<TModel>
To top