Table of Contents

Class EntityListView<T>

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll

Virtualised-list block for a statically-typed entity query. Registers list commands.

public class EntityListView<T> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender where T : IEntity<T>

Type Parameters

T
Inheritance
EntityListView<T>
Implements
Inherited Members

Remarks

See DynamicEntityListView if you don't have a static type.

Fields

RowHeightPixels

public const int RowHeightPixels = 20

Field Value

int

Properties

AllowDirtyReads

Loads entity data without a transaction.

[Parameter]
public bool AllowDirtyReads { get; set; }

Property Value

bool

Logger

[Inject]
public ILogger<EntityListView<T>> Logger { get; set; }

Property Value

ILogger<EntityListView<T>>

Options

[Inject]
public Options Options { get; set; }

Property Value

Options

OuterFieldContext

[CascadingParameter]
public FieldContext? OuterFieldContext { get; set; }

Property Value

FieldContext

Query

The entities to list.

[Parameter]
[EditorRequired]
public required IFrozenQuery<T> Query { get; set; }

Property Value

IFrozenQuery<T>

Services

[Inject]
public IServices Services { get; set; }

Property Value

IServices

Type

Type of the entities to list. See IListSpec to customise the generated columns.

[Parameter]
[EditorRequired]
public required IEntityInfo Type { get; set; }

Property Value

IEntityInfo

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnParametersSet()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override void OnParametersSet()