Class DynamicEntityListView
Virtualised-list block for a dynamically-typed entity query. Registers list commands.
public class DynamicEntityListView : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IVisitor<Action<RenderTreeBuilder>>
- Inheritance
-
DynamicEntityListView
- Implements
- Inherited Members
Remarks
See EntityListView<T> if you have a static type.
Properties
AllowDirtyReads
Loads entity data without a transaction.
[Parameter]
[EditorRequired]
public bool AllowDirtyReads { get; set; }
Property Value
Query
The entities to list (if unset, the list will be empty).
[Parameter]
[EditorRequired]
public IFrozenQuery<IEntity>? Query { get; set; }
Property Value
Type
Type of the entities to list. See IListSpec to customise the generated columns.
[Parameter]
[EditorRequired]
public IEntityInfo? Type { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder builder)
Parameters
builderRenderTreeBuilderA RenderTreeBuilder that will receive the render output.