DynamicComponent Class

Definition

A component that renders another component dynamically according to its Type parameter.

public class DynamicComponent : Microsoft.AspNetCore.Components.IComponent
type DynamicComponent = class
    interface IComponent
Public Class DynamicComponent
Implements IComponent
Inheritance
DynamicComponent
Implements

Constructors

DynamicComponent()

Constructs an instance of DynamicComponent.

Properties

Instance

Gets rendered component instance.

Parameters

Gets or sets a dictionary of parameters to be passed to the component.

Type

Gets or sets the type of the component to be rendered. The supplied type must implement IComponent.

Methods

Attach(RenderHandle)

Attaches the component to a RenderHandle.

SetParametersAsync(ParameterView)

Sets parameters supplied by the component's parent in the render tree.

Applies to