Table of Contents

Class ListSettings<TRowModel>

Namespace
Dynamicweb.CoreUI.Lists
Assembly
Dynamicweb.CoreUI.dll
public sealed class ListSettings<TRowModel>

Type Parameters

TRowModel
Inheritance
ListSettings<TRowModel>
Inherited Members

Constructors

ListSettings(ListScreenConfiguration, DataListViewModel<TRowModel>, IEnumerable<ListViewMapping>)

public ListSettings(ListScreenConfiguration configuration, DataListViewModel<TRowModel> listData, IEnumerable<ListViewMapping> viewMappings)

Parameters

configuration ListScreenConfiguration
listData DataListViewModel<TRowModel>
viewMappings IEnumerable<ListViewMapping>

Properties

Configuration

public ListScreenConfiguration Configuration { get; }

Property Value

ListScreenConfiguration

Filters

public IEnumerable<FilterBase> Filters { get; init; }

Property Value

IEnumerable<FilterBase>

GetCell

public Func<string, TRowModel, Cell>? GetCell { get; init; }

Property Value

Func<string, TRowModel, Cell>

GetListItemContextActions

public Func<TRowModel, ICollection<ActionNode>>? GetListItemContextActions { get; init; }

Property Value

Func<TRowModel, ICollection<ActionNode>>

GetListItemGroupID

public Func<TRowModel, string>? GetListItemGroupID { get; init; }

Property Value

Func<TRowModel, string>

GetListItemGroups

public Func<IEnumerable<ListItemGroup>>? GetListItemGroups { get; init; }

Property Value

Func<IEnumerable<ListItemGroup>>

GetListItemPrimaryAction

public Func<TRowModel, ActionBase>? GetListItemPrimaryAction { get; init; }

Property Value

Func<TRowModel, ActionBase>

GetRowId

public Func<TRowModel, string>? GetRowId { get; init; }

Property Value

Func<TRowModel, string>

GetRowSelectable

public Func<TRowModel, bool>? GetRowSelectable { get; init; }

Property Value

Func<TRowModel, bool>

GetRowSelected

public Func<TRowModel, bool>? GetRowSelected { get; init; }

Property Value

Func<TRowModel, bool>

ListData

public DataListViewModel<TRowModel> ListData { get; }

Property Value

DataListViewModel<TRowModel>

ViewMappings

public IEnumerable<ListViewMapping> ViewMappings { get; }

Property Value

IEnumerable<ListViewMapping>
To top