Table of Contents

Class ListScreenBase<TScreenModel, TRowModel>

Namespace
Dynamicweb.CoreUI.Screens
Assembly
Dynamicweb.CoreUI.dll
public abstract class ListScreenBase<TScreenModel, TRowModel> : ScreenBase<TScreenModel> where TScreenModel : DataListViewModel<TRowModel> where TRowModel : DataViewModelBase

Type Parameters

TScreenModel
TRowModel
Inheritance
ScreenBase<TScreenModel>
ListScreenBase<TScreenModel, TRowModel>
Derived
Inherited Members

Properties

Configuration

protected ListScreenConfiguration? Configuration { get; set; }

Property Value

ListScreenConfiguration

Methods

CreateMapping<TValue>(Expression<Func<TRowModel, TValue>>)

protected ModelMapping CreateMapping<TValue>(Expression<Func<TRowModel, TValue>> expression)

Parameters

expression Expression<Func<TRowModel, TValue>>

Returns

ModelMapping

Type Parameters

TValue

GetAlert()

protected virtual Alert? GetAlert()

Returns

Alert

GetCell(string, TRowModel)

protected virtual Cell? GetCell(string propertyName, TRowModel model)

Parameters

propertyName string
model TRowModel

Returns

Cell

GetCloseAction()

protected virtual ActionNode? GetCloseAction()

Returns

ActionNode

GetDefinitionInternal()

protected override sealed UiComponentBase GetDefinitionInternal()

Returns

UiComponentBase

GetExcludedFilters()

protected virtual IEnumerable<string>? GetExcludedFilters()

Returns

IEnumerable<string>

GetInfoBar()

protected virtual InfoBar? GetInfoBar()

Returns

InfoBar

GetItemCreateAction()

protected virtual ActionNode? GetItemCreateAction()

Returns

ActionNode

GetListContextActions()

protected virtual IEnumerable<ActionGroup>? GetListContextActions()

Returns

IEnumerable<ActionGroup>

GetListData()

protected abstract DataListViewModel<TRowModel>? GetListData()

Returns

DataListViewModel<TRowModel>

GetListItemContextActions(TRowModel)

protected virtual IEnumerable<ActionGroup>? GetListItemContextActions(TRowModel model)

Parameters

model TRowModel

Returns

IEnumerable<ActionGroup>

GetListItemGroupID(TRowModel)

protected virtual string? GetListItemGroupID(TRowModel model)

Parameters

model TRowModel

Returns

string

GetListItemGroups()

protected virtual IEnumerable<ListItemGroup>? GetListItemGroups()

Returns

IEnumerable<ListItemGroup>

GetListItemPrimaryAction(TRowModel)

protected virtual ActionBase? GetListItemPrimaryAction(TRowModel model)

Parameters

model TRowModel

Returns

ActionBase

GetManageAction()

protected virtual ActionNode? GetManageAction()

Returns

ActionNode

GetNavigationNodePathProviders()

protected override sealed IEnumerable<NavigationNodePathProvider> GetNavigationNodePathProviders()

Returns

IEnumerable<NavigationNodePathProvider>

GetRowSelectable(TRowModel)

protected virtual bool GetRowSelectable(TRowModel model)

Parameters

model TRowModel

Returns

bool

GetRowSelected(TRowModel)

protected virtual bool GetRowSelected(TRowModel model)

Parameters

model TRowModel

Returns

bool

GetScreenActions()

protected virtual IEnumerable<ActionGroup>? GetScreenActions()

Returns

IEnumerable<ActionGroup>

GetScreenName()

protected abstract string GetScreenName()

Returns

string

GetSecondaryAddAction()

protected virtual ActionNode? GetSecondaryAddAction()

Returns

ActionNode

GetSwitchViewAction()

protected virtual ActionNode? GetSwitchViewAction()

Returns

ActionNode

GetViewMappings()

protected virtual IEnumerable<ListViewMapping>? GetViewMappings()

Returns

IEnumerable<ListViewMapping>

OnBuildListScreen()

protected virtual void OnBuildListScreen()
To top