Class EntityListView<T>
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
Properties
AllowDirtyReads
Loads entity data without a transaction.
[Parameter]
public bool AllowDirtyReads { get; set; }
Property Value
Logger
[Inject]
public ILogger<EntityListView<T>> Logger { get; set; }
Property Value
Options
[Inject]
public Options Options { get; set; }
Property Value
OuterFieldContext
[CascadingParameter]
public FieldContext? OuterFieldContext { get; set; }
Property Value
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
Type
Type of the entities to list. See IListSpec to customise the generated columns.
[Parameter]
[EditorRequired]
public required IEntityInfo Type { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
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()