DynamicComponent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |